[−][src]Struct readfilez::ContinuableFile
Methods
impl ContinuableFile
[src]
pub fn new(file: File) -> Self
[src]
ⓘImportant traits for ChunkedFilepub fn to_chunks(self, lns: LengthSpec) -> ChunkedFile
[src]
ⓘImportant traits for ChunkedFile
pub fn sync_len(&mut self)
[src]
pub fn next(&mut self, lns: LengthSpec) -> Result<FileHandle>
[src]
Tries to read the next part of the file contents
Trait Implementations
impl Seek for ContinuableFile
[src]
fn seek(&mut self, pos: SeekFrom) -> Result<u64>
[src]
fn stream_len(&mut self) -> Result<u64, Error>
[src]
🔬 This is a nightly-only experimental API. (
seek_convenience
)Returns the length of this stream (in bytes). Read more
fn stream_position(&mut self) -> Result<u64, Error>
[src]
🔬 This is a nightly-only experimental API. (
seek_convenience
)Returns the current seek position from the start of the stream. Read more
Auto Trait Implementations
impl Send for ContinuableFile
impl Unpin for ContinuableFile
impl Sync for ContinuableFile
impl UnwindSafe for ContinuableFile
impl RefUnwindSafe for ContinuableFile
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,