pub struct UpArgs {
pub port: Option<u16>,
pub runtime_dir: Option<PathBuf>,
pub working_dir: Option<PathBuf>,
pub token: Option<String>,
pub token_file: Option<PathBuf>,
pub recreate_store: bool,
pub no_daemon: bool,
pub json: bool,
}Expand description
astrs up’s arguments, already parsed and resolved.
Fields§
§port: Option<u16>The port the coordinator should bind; 0 takes a free one.
runtime_dir: Option<PathBuf>Where pidfiles, sockets and child logs live (§24.2).
working_dir: Option<PathBuf>Where .astrs-token is written or found (§16).
token: Option<String>An explicit token, instead of generating one.
token_file: Option<PathBuf>A file holding that token.
recreate_store: boolDelete the coordinator’s store before it opens it.
no_daemon: boolStart the coordinator only.
json: boolEmit JSON rather than a human summary.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UpArgs
impl RefUnwindSafe for UpArgs
impl Send for UpArgs
impl Sync for UpArgs
impl Unpin for UpArgs
impl UnsafeUnpin for UpArgs
impl UnwindSafe for UpArgs
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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> ⓘ
Converts
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> ⓘ
Converts
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