pub enum CommandEvent {
Started {
command: String,
args: Vec<String>,
},
Progress {
command: String,
progress: f32,
message: String,
},
Completed {
command: String,
success: bool,
duration_ms: u64,
},
}Expand description
Command lifecycle events.
Variants§
Trait Implementations§
Source§impl Clone for CommandEvent
impl Clone for CommandEvent
Source§fn clone(&self) -> CommandEvent
fn clone(&self) -> CommandEvent
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 CommandEvent
impl Debug for CommandEvent
Source§impl<'de> Deserialize<'de> for CommandEvent
impl<'de> Deserialize<'de> for CommandEvent
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
Auto Trait Implementations§
impl Freeze for CommandEvent
impl RefUnwindSafe for CommandEvent
impl Send for CommandEvent
impl Sync for CommandEvent
impl Unpin for CommandEvent
impl UnwindSafe for CommandEvent
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