Enum miltr_client::CommandType
source · 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
§type Error = ResponseError
type Error = ResponseError
The type returned in the event of a conversion error.
Auto Trait Implementations§
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