pub enum AckStrategy {
BeforeRun,
AfterRun,
}Expand description
When a command is acknowledged.
Variants§
BeforeRun
Acknowledge scheduled before running (destructive commands, restarts).
AfterRun
Acknowledge with the handler’s result.
Trait Implementations§
Source§impl Clone for AckStrategy
impl Clone for AckStrategy
Source§fn clone(&self) -> AckStrategy
fn clone(&self) -> AckStrategy
Returns a copy 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 AckStrategy
impl Debug for AckStrategy
Source§impl PartialEq for AckStrategy
impl PartialEq for AckStrategy
impl Copy for AckStrategy
impl Eq for AckStrategy
impl StructuralPartialEq for AckStrategy
Auto Trait Implementations§
impl Freeze for AckStrategy
impl RefUnwindSafe for AckStrategy
impl Send for AckStrategy
impl Sync for AckStrategy
impl Unpin for AckStrategy
impl UnwindSafe for AckStrategy
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