pub enum Cmd<V> {
Propose(V),
Abort,
}Expand description
Requests from the layer above.
Variants§
Trait Implementations§
impl<V: Eq> Eq for Cmd<V>
impl<V: PartialEq> StructuralPartialEq for Cmd<V>
Auto Trait Implementations§
impl<V> Freeze for Cmd<V>where
V: Freeze,
impl<V> RefUnwindSafe for Cmd<V>where
V: RefUnwindSafe,
impl<V> Send for Cmd<V>where
V: Send,
impl<V> Sync for Cmd<V>where
V: Sync,
impl<V> Unpin for Cmd<V>where
V: Unpin,
impl<V> UnsafeUnpin for Cmd<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for Cmd<V>where
V: UnwindSafe,
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