pub enum FleetCommand {
PostureShow {
socket: Option<String>,
},
PostureSet {
socket: Option<String>,
patch: Vec<PosturePatchEntry>,
},
}Expand description
The fleet command group.
Variants§
PostureShow
fleet posture show: read the live cordon posture.
PostureSet
fleet posture set: re-tune a subset of the six cordon thresholds.
Implementations§
Source§impl FleetCommand
impl FleetCommand
Sourcepub const fn prompt_plan(&self, _ctx: &CliContext<'_>) -> PromptPlan
pub const fn prompt_plan(&self, _ctx: &CliContext<'_>) -> PromptPlan
Neither fleet arm prompts.
Trait Implementations§
Source§impl Clone for FleetCommand
impl Clone for FleetCommand
Source§impl Debug for FleetCommand
impl Debug for FleetCommand
Source§impl PartialEq for FleetCommand
impl PartialEq for FleetCommand
impl StructuralPartialEq for FleetCommand
Auto Trait Implementations§
impl Freeze for FleetCommand
impl RefUnwindSafe for FleetCommand
impl Send for FleetCommand
impl Sync for FleetCommand
impl Unpin for FleetCommand
impl UnsafeUnpin for FleetCommand
impl UnwindSafe for FleetCommand
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