Struct CommandExecutionContext
pub struct CommandExecutionContext {
pub spec_id: CommandSpecId,
pub body: Bytes,
pub reserved: [u8; 10],
}Expand description
Caller-owned command execution input before command-spec lookup.
Fields§
§spec_id: CommandSpecId§body: Bytes§reserved: [u8; 10]Implementations§
§impl CommandExecutionContext
impl CommandExecutionContext
pub fn new(spec_id: CommandSpecId, body: Bytes) -> CommandExecutionContext
pub fn with_reserved(self, reserved: [u8; 10]) -> CommandExecutionContext
Trait Implementations§
§impl Clone for CommandExecutionContext
impl Clone for CommandExecutionContext
§fn clone(&self) -> CommandExecutionContext
fn clone(&self) -> CommandExecutionContext
Returns a duplicate 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 moreAuto Trait Implementations§
impl !Freeze for CommandExecutionContext
impl RefUnwindSafe for CommandExecutionContext
impl Send for CommandExecutionContext
impl Sync for CommandExecutionContext
impl Unpin for CommandExecutionContext
impl UnsafeUnpin for CommandExecutionContext
impl UnwindSafe for CommandExecutionContext
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