pub enum DeltaError {
InvalidFormat(String),
UnexpectedEof,
IoError(Error),
}Expand description
Errors produced by delta encoding, decoding, and I/O.
Variants§
InvalidFormat(String)
The binary data does not match the expected delta format.
UnexpectedEof
The delta data ended before all commands were read.
IoError(Error)
An I/O error occurred while reading or writing a file.
Trait Implementations§
Source§impl Debug for DeltaError
impl Debug for DeltaError
Source§impl Display for DeltaError
impl Display for DeltaError
Source§impl Error for DeltaError
impl Error for DeltaError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for DeltaError
impl !RefUnwindSafe for DeltaError
impl Send for DeltaError
impl Sync for DeltaError
impl Unpin for DeltaError
impl UnsafeUnpin for DeltaError
impl !UnwindSafe for DeltaError
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