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