pub struct LimitReaderOutput { /* private fields */ }
Expand description
LimitReader
’s output
Implementations§
Source§impl LimitReaderOutput
impl LimitReaderOutput
Sourcepub fn bytes_read(&self) -> u64
pub fn bytes_read(&self) -> u64
Return bytes read by the underlying reader.
Sourcepub fn source_size(&self) -> u64
pub fn source_size(&self) -> u64
Size in bytes of the underlying file accessible to the reader.
Sourcepub fn bytes_remaining(&self) -> u64
pub fn bytes_remaining(&self) -> u64
Unread bytes (from the underlying file accessible to the reader).
Trait Implementations§
Source§impl Default for LimitReaderOutput
impl Default for LimitReaderOutput
Source§fn default() -> LimitReaderOutput
fn default() -> LimitReaderOutput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LimitReaderOutput
impl RefUnwindSafe for LimitReaderOutput
impl Send for LimitReaderOutput
impl Sync for LimitReaderOutput
impl Unpin for LimitReaderOutput
impl UnwindSafe for LimitReaderOutput
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