Enum persy::PersyError
[−]
[src]
pub enum PersyError { IO(String), Err(String), Encoding(Utf8Error), RecordNotFound, SegmentNotFound, SegmentAlreadyExists, Lock, }
Variants
IO(String)
Err(String)
Encoding(Utf8Error)
RecordNotFound
SegmentNotFound
SegmentAlreadyExists
Lock
Trait Implementations
impl Debug for PersyError
[src]
impl PartialEq for PersyError
[src]
fn eq(&self, __arg_0: &PersyError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PersyError) -> bool
This method tests for !=
.
impl Eq for PersyError
[src]
impl From<Error> for PersyError
[src]
fn from(erro: Error) -> PersyError
Performs the conversion.
impl<T> From<PoisonError<T>> for PersyError
[src]
fn from(_: PoisonError<T>) -> PersyError
Performs the conversion.
impl From<Utf8Error> for PersyError
[src]
fn from(err: Utf8Error) -> PersyError
Performs the conversion.