Struct Take
pub struct Take<'a, R>{ /* private fields */ }
Expand description
Reader adapter which limits the bytes read from an underlying reader.
Created by calling [Read::take]
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, R> Freeze for Take<'a, R>where
R: ?Sized,
impl<'a, R> RefUnwindSafe for Take<'a, R>where
R: RefUnwindSafe + ?Sized,
impl<'a, R> Send for Take<'a, R>
impl<'a, R> Sync for Take<'a, R>
impl<'a, R> Unpin for Take<'a, R>where
R: ?Sized,
impl<'a, R> !UnwindSafe for Take<'a, R>
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