pub enum Payload {
Bytes(Vec<u8>),
}Expand description
A payload as a message is read with it.
Variants§
Implementations§
Trait Implementations§
impl Eq for Payload
impl StructuralPartialEq for Payload
Auto Trait Implementations§
impl Forget for Payload
impl Freeze for Payload
impl Move for Payload
impl RefUnwindSafe for Payload
impl Send for Payloadwhere
RawVecInner: Send,
impl Sync for Payloadwhere
RawVecInner: Sync,
impl Unpin for Payload
impl UnsafeUnpin for Payload
impl UnwindSafe for Payloadwhere
RawVecInner: UnwindSafe,
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