Enum librsync::Error [] [src]

pub enum Error {
    Io(Error),
    Mem,
    BadMagic,
    Unimplemented,
    Internal,
    Unknown(i32),
}

Enumeration of all possible errors in this crate.

Variants

An IO error.

Out of memory.

Bad magic number at start of stream.

The feature is not available yet.

Probably a library bug.

All the other error numbers.

This error should never occur, as it is an indication of a bug.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

Performs the conversion.

impl From<rs_result> for Error
[src]

Performs the conversion.