Expand description
A concrete read-only buffer type that may or may not be mem_locked.
Tuple Fields
0: Arc<dyn AsBufRead>
Implementations
Trait Implementations
sourceimpl<const S: usize> From<BufReadSized<S>> for BufRead
impl<const S: usize> From<BufReadSized<S>> for BufRead
sourcefn from(b: BufReadSized<S>) -> Self
fn from(b: BufReadSized<S>) -> Self
Converts to this type from the input type.
sourceimpl<const S: usize> From<BufWriteSized<S>> for BufRead
impl<const S: usize> From<BufWriteSized<S>> for BufRead
sourcefn from(b: BufWriteSized<S>) -> Self
fn from(b: BufWriteSized<S>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for BufRead
impl Send for BufRead
impl Sync for BufRead
impl Unpin for BufRead
impl !UnwindSafe for BufRead
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more