pub enum CommandOutcome {
Applied(CommandReport),
Rejected(CommandFailure),
}Expand description
Represents the outcome of a command execution
Variants§
Applied(CommandReport)
Rejected(CommandFailure)
Trait Implementations§
Source§impl Clone for CommandOutcome
impl Clone for CommandOutcome
Source§fn clone(&self) -> CommandOutcome
fn clone(&self) -> CommandOutcome
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 moreSource§impl Debug for CommandOutcome
impl Debug for CommandOutcome
Source§impl<'de> Deserialize<'de> for CommandOutcome
impl<'de> Deserialize<'de> for CommandOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CommandOutcome
impl Display for CommandOutcome
Auto Trait Implementations§
impl Freeze for CommandOutcome
impl RefUnwindSafe for CommandOutcome
impl Send for CommandOutcome
impl Sync for CommandOutcome
impl Unpin for CommandOutcome
impl UnsafeUnpin for CommandOutcome
impl UnwindSafe for CommandOutcome
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