pub struct BorrowedWriteBuffer<'a> { /* private fields */ }
Trait Implementations§
Source§impl<'a> WriteBuffer for BorrowedWriteBuffer<'a>
impl<'a> WriteBuffer for BorrowedWriteBuffer<'a>
fn is_empty(&self) -> bool
fn is_full(&self) -> bool
fn remaining(&self) -> usize
fn capacity(&self) -> usize
fn rewind(&mut self, distance: usize)
fn reset(&mut self)
fn peek_read_buffer(&mut self) -> RefReadBuffer<'_>
fn take_next(&mut self, count: usize) -> &mut [u8] ⓘ
fn take_read_buffer(&mut self) -> RefReadBuffer<'_>
fn position(&self) -> usize
fn take_remaining(&mut self) -> &mut [u8] ⓘ
Auto Trait Implementations§
impl<'a> Freeze for BorrowedWriteBuffer<'a>
impl<'a> RefUnwindSafe for BorrowedWriteBuffer<'a>
impl<'a> Send for BorrowedWriteBuffer<'a>
impl<'a> Sync for BorrowedWriteBuffer<'a>
impl<'a> Unpin for BorrowedWriteBuffer<'a>
impl<'a> !UnwindSafe for BorrowedWriteBuffer<'a>
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