pub struct BytesHolder(/* private fields */);Expand description
take remaining bytes
Trait Implementations§
Source§impl Clone for BytesHolder
impl Clone for BytesHolder
Source§fn clone(&self) -> BytesHolder
fn clone(&self) -> BytesHolder
Returns a duplicate 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 BytesHolder
impl Debug for BytesHolder
Source§impl<'de> Decode<'de> for BytesHolder
impl<'de> Decode<'de> for BytesHolder
Source§impl From<BytesHolder> for Bytes
impl From<BytesHolder> for Bytes
Source§fn from(src: BytesHolder) -> Self
fn from(src: BytesHolder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for BytesHolder
impl RefUnwindSafe for BytesHolder
impl Send for BytesHolder
impl Sync for BytesHolder
impl Unpin for BytesHolder
impl UnwindSafe for BytesHolder
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