pub enum CommandListenerEvent {
OnStarted {
status: i32,
},
OnTerminated {
status: i32,
return_code: i32,
},
}
Variants§
Implementations§
Source§impl CommandListenerEvent
impl CommandListenerEvent
pub fn into_on_started(self) -> Option<i32>
pub fn into_on_terminated(self) -> Option<(i32, i32)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandListenerEvent
impl RefUnwindSafe for CommandListenerEvent
impl Send for CommandListenerEvent
impl Sync for CommandListenerEvent
impl Unpin for CommandListenerEvent
impl UnwindSafe for CommandListenerEvent
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