Enum librsync::Error
[−]
[src]
pub enum Error { Io(Error), Mem, BadMagic, Unimplemented, Internal, Unknown(i32), }
Enumeration of all possible errors in this crate.
Variants
Io(Error)
An IO error.
Mem
Out of memory.
BadMagic
Bad magic number at start of stream.
Unimplemented
The feature is not available yet.
Internal
Probably a library bug.
Unknown(i32)
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]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more