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
Source§fn clone(&self) -> ModeTransitionResult
fn clone(&self) -> ModeTransitionResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ModeTransitionResult
impl RefUnwindSafe for ModeTransitionResult
impl Send for ModeTransitionResult
impl Sync for ModeTransitionResult
impl Unpin 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