Struct ExportArgs
pub struct ExportArgs {
pub study: PathBuf,
pub optuna: Option<PathBuf>,
pub optuna_rdb: Option<PathBuf>,
}Expand description
atune export --optuna — write a study as an Optuna journal file.
The phase-0 GUI, with zero GUI code: the exported file is an Optuna
journal-file op log, so optuna-dashboard <out.log> — or
optuna.load_study(storage=JournalStorage(JournalFileBackend("<out.log>")))
— opens the atune study directly. See
interoperating with Optuna.
Fields§
§study: PathBufThe local study file (*.atj, *.db, *.sqlite, *.sqlite3) or
atune://host:port remote observer endpoint to read.
Remote observer traffic is plaintext TCP: atune provides no authentication and no TLS. Use loopback, or a private VPN with host firewall and cloud/network ACLs; use an mTLS proxy where client identity is required. A private LAN alone is not an identity boundary.
Local Journal (*.atj) and SQLite (*.db, *.sqlite, *.sqlite3)
data are plaintext. Require restrictive file permissions, an encrypted
volume, and protected backups.
optuna: Option<PathBuf>Write the Optuna journal to this path (omit, or -, for stdout).
--optuna PATH selects Optuna’s journal-file format and names the output.
With neither --optuna nor --optuna-rdb, the journal goes to stdout; if
only --optuna-rdb is given, nothing goes to stdout.
Export output is plaintext study data. Require restrictive file permissions, an encrypted volume, and protected backups.
optuna_rdb: Option<PathBuf>Also write an Optuna RDB-sqlite database to this path.
Optuna’s relational on-disk form: optuna-dashboard sqlite:///<PATH> or
optuna.load_study(storage="sqlite:///<PATH>") opens it. An existing file
at PATH is replaced. May be combined with --optuna (each names its own
output). Unlike --optuna, it has no stdout form — a database needs a path.
The SQLite output is plaintext study data; require restrictive file
permissions, an encrypted volume, and protected backups.
Trait Implementations§
§impl Args for ExportArgs
impl Args for ExportArgs
§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id][crate::ArgGroup::id] for this set of arguments§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read more§impl Debug for ExportArgs
impl Debug for ExportArgs
§impl FromArgMatches for ExportArgs
impl FromArgMatches for ExportArgs
§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for ExportArgs
impl RefUnwindSafe for ExportArgs
impl Send for ExportArgs
impl Sync for ExportArgs
impl Unpin for ExportArgs
impl UnsafeUnpin for ExportArgs
impl UnwindSafe for ExportArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T, U> Imply<T> for U
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more