Enum persy::PersyError [−][src]
pub enum PersyError {}Show variants
Io(Error), DecodingUtf8(Utf8Error), DecodingDataEncoding(DecodeError), Custom(Box<dyn Error + Send + Sync + 'static>), VersionNotLastest, RecordNotFound(PersyId), SegmentNotFound, SegmentAlreadyExists, CannotDropSegmentCreatedInTx, Lock, IndexMinElementsShouldBeAtLeastDoubleOfMax, IndexNotFound, IndexTypeMismatch(Cow<'static, str>), IndexDuplicateKey(String, String), TransactionTimeout, InvalidId(String), // some variants omitted
Expand description
Enum of possible errors from Persy
Variants
Io(Error)
DecodingUtf8(Utf8Error)
DecodingDataEncoding(DecodeError)
RecordNotFound(PersyId)
InvalidId(String)
Trait Implementations
impl Debug for PersyError
[src]
impl Debug for PersyError
[src]impl Display for PersyError
[src]
impl Display for PersyError
[src]impl Error for PersyError
[src]
impl Error for PersyError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<DecodeError> for PersyError
[src]
impl From<DecodeError> for PersyError
[src]fn from(err: DecodeError) -> PersyError
[src]
fn from(err: DecodeError) -> PersyError
[src]Performs the conversion.
impl From<Error> for PersyError
[src]
impl From<Error> for PersyError
[src]fn from(err: Error) -> PersyError
[src]
fn from(err: Error) -> PersyError
[src]Performs the conversion.
impl<T> From<PoisonError<T>> for PersyError
[src]
impl<T> From<PoisonError<T>> for PersyError
[src]fn from(_: PoisonError<T>) -> PersyError
[src]
fn from(_: PoisonError<T>) -> PersyError
[src]Performs the conversion.
impl From<Utf8Error> for PersyError
[src]
impl From<Utf8Error> for PersyError
[src]fn from(err: Utf8Error) -> PersyError
[src]
fn from(err: Utf8Error) -> PersyError
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for PersyError
impl Send for PersyError
impl Sync for PersyError
impl Unpin for PersyError
impl !UnwindSafe for PersyError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,