pub type BoxedCommand = Command<Box<[u8]>>;

Aliased Type§

struct BoxedCommand {
    pub header: Header,
    pub data: Box<[u8], Global>,
}

Fields§

§header: Header§data: Box<[u8], Global>

Trait Implementations§

source§

impl<T: Clone + ?Sized> Clone for Command<T>

source§

fn clone(&self) -> Command<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Debug + ?Sized> Debug for Command<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, T> Deserialize<'de> for Command<T>where T: Deserialize<'de> + ?Sized,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<T: PartialEq + ?Sized> PartialEq<Command<T>> for Command<T>

source§

fn eq(&self, other: &Command<T>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<T> Serialize for Command<T>where T: Serialize + ?Sized,

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<T: ?Sized> StructuralPartialEq for Command<T>