Enum vault::Error
[−]
[src]
pub enum Error { CursorWrap, CursorOutOfBounds, FileTooLarge, EmptyChar, InvalidFileExtension, UnexpectedValue, UnsupportedVersion, UnsupportedChunkVersion, IoError(IoError), Utf8Error(FromUtf8Error), Utf16Error(FromUtf16Error), }
This type contains the various error messages that can be returned from the library.
Variants
CursorWrap
CursorOutOfBounds
FileTooLarge
EmptyChar
InvalidFileExtension
UnexpectedValue
UnsupportedVersion
UnsupportedChunkVersion
IoError(IoError)
Utf8Error(FromUtf8Error)
Utf16Error(FromUtf16Error)
Trait Implementations
impl Debug for Error
[src]
impl From<IoError> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(err: FromUtf8Error) -> Error
Performs the conversion.
impl From<FromUtf16Error> for Error
[src]
fn from(err: FromUtf16Error) -> Error
Performs the conversion.
impl StdError for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more