pub enum Command {
Internal(InternalCommand),
External(ExternalCommand),
}Expand description
TODO This is encoded as u8 which might not always be true
Variants§
Internal(InternalCommand)
External(ExternalCommand)
Trait Implementations§
impl Copy for Command
Source§impl From<ExternalCommand> for Command
impl From<ExternalCommand> for Command
Source§fn from(value: ExternalCommand) -> Self
fn from(value: ExternalCommand) -> Self
Converts to this type from the input type.
Source§impl From<InternalCommand> for Command
impl From<InternalCommand> for Command
Source§fn from(value: InternalCommand) -> Self
fn from(value: InternalCommand) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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