Struct async_streamdata::reader::tokio::BoxBufReader
source · pub struct BoxBufReader<T> {
pub inner: T,
pub buf: Box<[u8]>,
}
Expand description
A reader with an internal buffer.
Fields§
§inner: T
The inner reader.
buf: Box<[u8]>
The buffer to use for reading the data.
Trait Implementations§
source§impl<T: Debug> Debug for BoxBufReader<T>
impl<T: Debug> Debug for BoxBufReader<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for BoxBufReader<T>where T: RefUnwindSafe,
impl<T> Send for BoxBufReader<T>where T: Send,
impl<T> Sync for BoxBufReader<T>where T: Sync,
impl<T> Unpin for BoxBufReader<T>where T: Unpin,
impl<T> UnwindSafe for BoxBufReader<T>where T: UnwindSafe,
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