pub enum Payload<'a, 'b> {
Message(MessageReader<'a, 'b>),
ChannelData(ChannelData<'a>),
}
Variants§
Message(MessageReader<'a, 'b>)
ChannelData(ChannelData<'a>)
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> Freeze for Payload<'a, 'b>
impl<'a, 'b> RefUnwindSafe for Payload<'a, 'b>
impl<'a, 'b> Send for Payload<'a, 'b>
impl<'a, 'b> Sync for Payload<'a, 'b>
impl<'a, 'b> Unpin for Payload<'a, 'b>
impl<'a, 'b> UnwindSafe for Payload<'a, 'b>
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