pub struct FileReadChunk {
pub offset_bytes: u64,
pub file_size_bytes: u64,
pub bytes: Vec<u8>,
}Fields§
§offset_bytes: u64§file_size_bytes: u64§bytes: Vec<u8>Implementations§
Source§impl FileReadChunk
impl FileReadChunk
pub fn next_offset_bytes(&self) -> u64
pub fn reached_eof(&self) -> bool
Trait Implementations§
Source§impl Clone for FileReadChunk
impl Clone for FileReadChunk
Source§fn clone(&self) -> FileReadChunk
fn clone(&self) -> FileReadChunk
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileReadChunk
impl Debug for FileReadChunk
impl Eq for FileReadChunk
Source§impl PartialEq for FileReadChunk
impl PartialEq for FileReadChunk
impl StructuralPartialEq for FileReadChunk
Auto Trait Implementations§
impl Freeze for FileReadChunk
impl RefUnwindSafe for FileReadChunk
impl Send for FileReadChunk
impl Sync for FileReadChunk
impl Unpin for FileReadChunk
impl UnsafeUnpin for FileReadChunk
impl UnwindSafe for FileReadChunk
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