pub struct ModeTransitionResult {
pub previous_mode: String,
pub current_mode: String,
pub nodes_started: Vec<String>,
pub nodes_stopped: Vec<String>,
pub errors: Vec<String>,
}Expand description
Result of a mode transition
Fields§
§previous_mode: StringPrevious mode
current_mode: StringNew current mode
nodes_started: Vec<String>Nodes that were started
nodes_stopped: Vec<String>Nodes that were stopped
errors: Vec<String>Errors encountered (non-fatal)
Trait Implementations§
Source§impl Clone for ModeTransitionResult
impl Clone for ModeTransitionResult
Auto Trait Implementations§
impl Freeze for ModeTransitionResult
impl RefUnwindSafe for ModeTransitionResult
impl Send for ModeTransitionResult
impl Sync for ModeTransitionResult
impl Unpin for ModeTransitionResult
impl UnsafeUnpin for ModeTransitionResult
impl UnwindSafe for ModeTransitionResult
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
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