pub enum DeltaOp {
Copy {
offset: usize,
length: usize,
},
Insert {
data: Vec<u8>,
},
}Expand description
Delta operation
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DeltaOp
impl<'de> Deserialize<'de> for DeltaOp
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
impl Eq for DeltaOp
impl StructuralPartialEq for DeltaOp
Auto Trait Implementations§
impl Freeze for DeltaOp
impl RefUnwindSafe for DeltaOp
impl Send for DeltaOp
impl Sync for DeltaOp
impl Unpin for DeltaOp
impl UnsafeUnpin for DeltaOp
impl UnwindSafe for DeltaOp
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