pub struct DeframerVecBuffer { /* private fields */ }
Implementations§
source§impl DeframerVecBuffer
impl DeframerVecBuffer
sourcepub fn borrow(&mut self) -> DeframerSliceBuffer<'_>
pub fn borrow(&mut self) -> DeframerSliceBuffer<'_>
Borrows the initialized contents of this buffer and tracks pending discard operations via
the discard
reference
sourcepub fn has_pending(&self) -> bool
pub fn has_pending(&self) -> bool
Returns true if there are messages for the caller to process
Trait Implementations§
source§impl Debug for DeframerVecBuffer
impl Debug for DeframerVecBuffer
source§impl Default for DeframerVecBuffer
impl Default for DeframerVecBuffer
source§fn default() -> DeframerVecBuffer
fn default() -> DeframerVecBuffer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeframerVecBuffer
impl RefUnwindSafe for DeframerVecBuffer
impl Send for DeframerVecBuffer
impl Sync for DeframerVecBuffer
impl Unpin for DeframerVecBuffer
impl UnwindSafe for DeframerVecBuffer
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