Expand description
Payloads and Representations
generated from RFC7252 section 5.5
Both requests and responses may include a payload, depending on the Method or Response Code, respectively. If a Method or Response Code is not defined to have a payload, then a sender MUST NOT include one, and a recipient MUST ignore it.
Tuple Fields
0: C
Trait Implementations
sourceimpl<C: PartialOrd + Array<Item = u8>> PartialOrd<Payload<C>> for Payload<C>
impl<C: PartialOrd + Array<Item = u8>> PartialOrd<Payload<C>> for Payload<C>
sourcefn partial_cmp(&self, other: &Payload<C>) -> Option<Ordering>
fn partial_cmp(&self, other: &Payload<C>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<C: Array<Item = u8>> StructuralPartialEq for Payload<C>
Auto Trait Implementations
impl<C> RefUnwindSafe for Payload<C> where
C: RefUnwindSafe,
impl<C> Send for Payload<C> where
C: Send,
impl<C> Sync for Payload<C> where
C: Sync,
impl<C> Unpin for Payload<C> where
C: Unpin,
impl<C> UnwindSafe for Payload<C> where
C: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more