Struct wildland_devshell::plugins::dfs::stream::DevShellIStream    
source · pub struct DevShellIStream {
    file: File,
    file_size: u64,
}Fields§
§file: File§file_size: u64Implementations§
Trait Implementations§
source§impl IStream for DevShellIStream
 
impl IStream for DevShellIStream
source§fn read(&mut self, bytes_count: usize) -> IStreamResult
 
fn read(&mut self, bytes_count: usize) -> IStreamResult
Reads at most number of bytes specified by the 
bytes_count argument.
Empty vector in IStreamResult::Ok(..) means end of stream.source§fn total_size(&self) -> usize
 
fn total_size(&self) -> usize
Provides total size of a Stream in bytes
If 
None returned, operation progress can not be trackedAuto Trait Implementations§
impl RefUnwindSafe for DevShellIStream
impl Send for DevShellIStream
impl Sync for DevShellIStream
impl Unpin for DevShellIStream
impl UnwindSafe for DevShellIStream
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