pub struct Command {
pub tag: Tag,
/* private fields */
}Expand description
A finalized command ready to be sent to the router.
Created via CommandBuilder. Contains the complete wire-format bytes
(length-prefixed words + null terminator).
The wire data is immutable after construction to preserve builder invariants.
Fields§
§tag: TagThe tag identifying this command for response correlation.
Implementations§
Trait Implementations§
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