Struct self_encryption::SeekInfo
source · [−]Expand description
Helper struct for seeking original file bytes from chunks.
Fields
index_range: Range<usize>
Start and end index for the chunks covered by a pos and len.
relative_pos: usize
The start pos of first chunk. The position is relative to the byte content of that chunk, not the whole file.
Auto Trait Implementations
impl RefUnwindSafe for SeekInfo
impl Send for SeekInfo
impl Sync for SeekInfo
impl Unpin for SeekInfo
impl UnwindSafe for SeekInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more