pub struct DownArgs {
pub runtime_dir: Option<PathBuf>,
pub working_dir: Option<PathBuf>,
pub coordinator: Option<String>,
pub token: Option<String>,
pub token_file: Option<PathBuf>,
pub force: bool,
pub json: bool,
}Expand description
astrs down’s arguments, already parsed and resolved.
Fields§
§runtime_dir: Option<PathBuf>Where the pidfiles live (§24.2).
working_dir: Option<PathBuf>Where .astrs-token is found (§16).
coordinator: Option<String>The coordinator address, when it is not the one in the pidfile.
token: Option<String>An explicit token.
token_file: Option<PathBuf>A file holding that token.
force: boolStop the cluster even while dataflows are running.
json: boolEmit JSON rather than a human summary.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DownArgs
impl RefUnwindSafe for DownArgs
impl Send for DownArgs
impl Sync for DownArgs
impl Unpin for DownArgs
impl UnsafeUnpin for DownArgs
impl UnwindSafe for DownArgs
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