pub struct DeltaApplyContext {
pub metadata_base: Option<u64>,
pub required_base: Option<u64>,
pub algorithm: Option<u8>,
pub compression: Option<u8>,
}Expand description
Context supplied when applying deltas, typically derived from container metadata.
Fields§
§metadata_base: Option<u64>Base snapshot advertised in metadata (None means unchecked).
required_base: Option<u64>Base snapshot the caller expects to match (None means unchecked).
algorithm: Option<u8>Algorithm identifier advertised in metadata (None means unchecked).
compression: Option<u8>Compression identifier advertised in metadata (None means unchecked).
Trait Implementations§
Source§impl Clone for DeltaApplyContext
impl Clone for DeltaApplyContext
Source§fn clone(&self) -> DeltaApplyContext
fn clone(&self) -> DeltaApplyContext
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 DeltaApplyContext
impl Debug for DeltaApplyContext
Source§impl Default for DeltaApplyContext
impl Default for DeltaApplyContext
Source§fn default() -> DeltaApplyContext
fn default() -> DeltaApplyContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeltaApplyContext
impl RefUnwindSafe for DeltaApplyContext
impl Send for DeltaApplyContext
impl Sync for DeltaApplyContext
impl Unpin for DeltaApplyContext
impl UnwindSafe for DeltaApplyContext
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