[−][src]Enum fast_rsync::ApplyError
Indicates that a delta could not be applied because it was invalid.
Variants
The delta started with the wrong magic, perhaps because it is not really an rsync delta.
Fields of WrongMagic
magic: u32
The magic number encountered.
The delta ended unexpectedly, perhaps because it was truncated.
Fields of UnexpectedEof
The resulting data would have exceeded the output limit given to apply_limited().
Fields of OutputLimit
The delta contained an out-of-bounds reference to the base data: that is, offset + len > data_len
.
Fields of CopyOutOfBounds
The delta contained a zero-length copy command.
The delta contained an unrecognized command.
Fields of UnknownCommand
command: u8
The command byte encountered.
The delta contained data after its end command.
Fields of TrailingData
length: usize
The length of the trailing data.
Trait Implementations
impl Clone for ApplyError
[src]
fn clone(&self) -> ApplyError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ApplyError
[src]
impl Debug for ApplyError
[src]
impl Display for ApplyError
[src]
impl Error for ApplyError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ApplyError
impl Send for ApplyError
impl Sync for ApplyError
impl Unpin for ApplyError
impl UnwindSafe for ApplyError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
[src]
U: FromCast<T>,
impl<T> From<T> for T
[src]
impl<T> FromCast<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,