pub enum Encoded {
Packet(Packet),
Publish(Publish, Option<Bytes>),
PayloadChunk(Bytes),
}Variants§
Trait Implementations§
impl Eq for Encoded
impl StructuralPartialEq for Encoded
Auto Trait Implementations§
impl Freeze for Encoded
impl !RefUnwindSafe for Encoded
impl Send for Encoded
impl Sync for Encoded
impl Unpin for Encoded
impl !UnwindSafe for Encoded
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