pub enum CommandType {
Action(Action),
ModificationAction(ModificationAction),
}
Expand description
The types of commands the server may respond with
Variants§
Action(Action)
A regular control flow action
ModificationAction(ModificationAction)
A data modification action
Trait Implementations§
Source§impl TryFrom<ServerCommand> for CommandType
impl TryFrom<ServerCommand> for CommandType
Source§type Error = ResponseError
type Error = ResponseError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CommandType
impl RefUnwindSafe for CommandType
impl Send for CommandType
impl Sync for CommandType
impl Unpin for CommandType
impl UnwindSafe for CommandType
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