pub struct FileChunk {
pub file: FileToken,
pub offset: u64,
pub bytes: Vec<u8>,
}Expand description
One exact bounded read response, never an ambient filesystem path.
Fields§
§file: FileToken§offset: u64§bytes: Vec<u8>Implementations§
Trait Implementations§
impl Eq for FileChunk
impl StructuralPartialEq for FileChunk
Auto Trait Implementations§
impl Forget for FileChunk
impl Freeze for FileChunk
impl Move for FileChunk
impl RefUnwindSafe for FileChunk
impl Send for FileChunkwhere
RawVecInner: Send,
impl Sync for FileChunkwhere
RawVecInner: Sync,
impl Unpin for FileChunk
impl UnsafeUnpin for FileChunk
impl UnwindSafe for FileChunkwhere
RawVecInner: UnwindSafe,
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