pub struct Packet {
pub bytes: Vec<u8>,
}Fields§
§bytes: Vec<u8>Implementations§
Trait Implementations§
source§impl Encoder<Packet> for NoParserEncoder
impl Encoder<Packet> for NoParserEncoder
source§impl PartialEq for Packet
impl PartialEq for Packet
impl StructuralPartialEq for Packet
Auto Trait Implementations§
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnwindSafe for Packet
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