pub struct PlainBytes { /* private fields */ }
Trait Implementations§
Source§impl Clone for PlainBytes
impl Clone for PlainBytes
Source§fn clone(&self) -> PlainBytes
fn clone(&self) -> PlainBytes
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PlainBytes
impl Debug for PlainBytes
Source§impl PacketBytes for PlainBytes
impl PacketBytes for PlainBytes
Source§fn header_mut(&mut self) -> BytesMut<'_>
fn header_mut(&mut self) -> BytesMut<'_>
Returns the header mutably.
Source§fn full_header_mut(&mut self) -> BytesMut<'_>
fn full_header_mut(&mut self) -> BytesMut<'_>
Returns the full header mutably. Read more
Source§fn body_mut(&mut self) -> BodyBytesMut<'_>
fn body_mut(&mut self) -> BodyBytesMut<'_>
Returns the body mutably.
Source§fn full_body_mut(&mut self) -> BytesMut<'_>
fn full_body_mut(&mut self) -> BytesMut<'_>
Returns the full body mutably. Read more
Source§impl PartialEq for PlainBytes
impl PartialEq for PlainBytes
impl Eq for PlainBytes
impl StructuralPartialEq for PlainBytes
Auto Trait Implementations§
impl Freeze for PlainBytes
impl RefUnwindSafe for PlainBytes
impl Send for PlainBytes
impl Sync for PlainBytes
impl Unpin for PlainBytes
impl UnwindSafe for PlainBytes
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