pub enum WhenToRun {
After,
Before,
Both,
}
Expand description
When to run the Command
Variants§
After
After creating the device
Before
Before removing the device
Both
Both after the creation and before removing
Trait Implementations§
impl StructuralPartialEq for WhenToRun
Auto Trait Implementations§
impl Freeze for WhenToRun
impl RefUnwindSafe for WhenToRun
impl Send for WhenToRun
impl Sync for WhenToRun
impl Unpin for WhenToRun
impl UnwindSafe for WhenToRun
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