pub enum DiffError {
LengthMismatch {
before: usize,
after: usize,
},
BufferTooShort,
}Expand description
Error surface for diff operations.
Variants§
LengthMismatch
before and after lengths differ. This fixed-size diff deliberately
rejects resize deltas.
BufferTooShort
Either input was shorter than the manifest’s total_size.
Trait Implementations§
impl Copy for DiffError
impl Eq for DiffError
impl StructuralPartialEq for DiffError
Auto Trait Implementations§
impl Freeze for DiffError
impl RefUnwindSafe for DiffError
impl Send for DiffError
impl Sync for DiffError
impl Unpin for DiffError
impl UnsafeUnpin for DiffError
impl UnwindSafe for DiffError
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