Struct better_limit_reader::LimitReaderOutput
source · pub struct LimitReaderOutput { /* private fields */ }
Expand description
LimitReader
’s output
Implementations§
source§impl LimitReaderOutput
impl LimitReaderOutput
sourcepub fn bytes_read(&self) -> usize
pub fn bytes_read(&self) -> usize
Return bytes read by the underlying reader.
sourcepub fn source_size(&self) -> usize
pub fn source_size(&self) -> usize
Size in bytes of the underlying file accessible to the reader.
sourcepub fn bytes_remaining(&self) -> usize
pub fn bytes_remaining(&self) -> usize
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