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 Debug for PersyError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for PersyError
[src]
impl From<Error> for PersyError
fn from(erro: Error) -> PersyError
[src]
fn from(erro: Error) -> PersyError
Performs the conversion.
impl<T> From<PoisonError<T>> for PersyError
[src]
impl<T> From<PoisonError<T>> for PersyError
fn from(_: PoisonError<T>) -> PersyError
[src]
fn from(_: PoisonError<T>) -> PersyError
Performs the conversion.
impl From<Utf8Error> for PersyError
[src]
impl From<Utf8Error> for PersyError
fn from(err: Utf8Error) -> PersyError
[src]
fn from(err: Utf8Error) -> PersyError
Performs the conversion.
impl Display for PersyError
[src]
impl Display for PersyError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl PartialEq for PersyError
[src]
impl PartialEq for PersyError
fn eq(&self, other: &PersyError) -> bool
[src]
fn eq(&self, other: &PersyError) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Error for PersyError
[src]
impl Error for PersyError
Auto Trait Implementations
impl Send for PersyError
impl Send for PersyError
impl Sync for PersyError
impl Sync for PersyError