Struct kwap_msg::Payload [−][src]
pub struct Payload<C: Collection<u8>>(pub C)
where
for<'a> &'a C: IntoIterator<Item = &'a u8>;Expand description
Low-level representation of the message payload
Both requests and responses may include a payload, depending on the Method or Response Code, respectively.
Related
Tuple Fields
0: CTrait Implementations
impl<C: Clone + Collection<u8>> Clone for Payload<C> where
for<'a> &'a C: IntoIterator<Item = &'a u8>,
impl<C: Clone + Collection<u8>> Clone for Payload<C> where
for<'a> &'a C: IntoIterator<Item = &'a u8>,
impl<C: Debug + Collection<u8>> Debug for Payload<C> where
for<'a> &'a C: IntoIterator<Item = &'a u8>,
impl<C: Debug + Collection<u8>> Debug for Payload<C> where
for<'a> &'a C: IntoIterator<Item = &'a u8>,
impl<C: PartialEq + Collection<u8>> PartialEq<Payload<C>> for Payload<C> where
for<'a> &'a C: IntoIterator<Item = &'a u8>,
impl<C: PartialEq + Collection<u8>> PartialEq<Payload<C>> for Payload<C> where
for<'a> &'a C: IntoIterator<Item = &'a u8>,
impl<C: PartialOrd + Collection<u8>> PartialOrd<Payload<C>> for Payload<C> where
for<'a> &'a C: IntoIterator<Item = &'a u8>,
impl<C: PartialOrd + Collection<u8>> PartialOrd<Payload<C>> for Payload<C> where
for<'a> &'a C: IntoIterator<Item = &'a u8>,
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
impl<C: Collection<u8>> StructuralPartialEq for Payload<C> where
for<'a> &'a C: IntoIterator<Item = &'a u8>,
Auto Trait Implementations
impl<C> RefUnwindSafe for Payload<C> where
C: RefUnwindSafe,
impl<C> UnwindSafe for Payload<C> where
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
