#[repr(u8)]pub enum PatchKind {
FullImage = 0,
IntentLog = 1,
SparseXor = 2,
}Expand description
How a page version is stored in an ECS patch object.
Variants§
FullImage = 0
Full page image — the patch object contains the entire page.
IntentLog = 1
Intent log — a sequence of semantic operations to replay.
SparseXor = 2
Sparse XOR — byte-range XOR delta against a base image.
Implementations§
Trait Implementations§
impl Copy for PatchKind
impl Eq for PatchKind
impl StructuralPartialEq for PatchKind
Auto Trait Implementations§
impl Freeze for PatchKind
impl RefUnwindSafe for PatchKind
impl Send for PatchKind
impl Sync for PatchKind
impl Unpin for PatchKind
impl UnsafeUnpin for PatchKind
impl UnwindSafe for PatchKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).