pub struct ExtentEntry {
pub chunk_index: u64,
pub data_ref: ObjectRef,
pub plaintext_len: u32,
}Expand description
Maps a logical file chunk index to a block containing the encrypted data chunk.
Fields§
§chunk_index: u64Chunk index (0-based).
data_ref: ObjectRefReference to the block containing the encrypted file data chunk.
plaintext_len: u32Size of the plaintext data in this chunk.
Trait Implementations§
Source§impl Clone for ExtentEntry
impl Clone for ExtentEntry
Source§fn clone(&self) -> ExtentEntry
fn clone(&self) -> ExtentEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 ExtentEntry
impl Debug for ExtentEntry
Source§impl<'de> Deserialize<'de> for ExtentEntry
impl<'de> Deserialize<'de> for ExtentEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExtentEntry
impl RefUnwindSafe for ExtentEntry
impl Send for ExtentEntry
impl Sync for ExtentEntry
impl Unpin for ExtentEntry
impl UnsafeUnpin for ExtentEntry
impl UnwindSafe for ExtentEntry
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