Enum persy::GenericError
source · [−]pub enum GenericError {
Io {
from: Error,
},
DecodingUtf8(Utf8Error),
Lock,
DecodingDataEncoding(DecodeError),
VarIntError(ReadError),
}
Variants
Io
Fields
from: Error
DecodingUtf8(Utf8Error)
Lock
DecodingDataEncoding(DecodeError)
VarIntError(ReadError)
Trait Implementations
sourceimpl Debug for GenericError
impl Debug for GenericError
sourceimpl Display for GenericError
impl Display for GenericError
sourceimpl Error for GenericError
impl Error for GenericError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<DecodeError> for GenericError
impl From<DecodeError> for GenericError
sourcefn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for GenericError
impl From<Error> for GenericError
sourceimpl From<GenericError> for CreateError
impl From<GenericError> for CreateError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for CreateIndexError
impl From<GenericError> for CreateIndexError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for CreateSegmentError
impl From<GenericError> for CreateSegmentError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for DeleteError
impl From<GenericError> for DeleteError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for DropIndexError
impl From<GenericError> for DropIndexError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for DropSegmentError
impl From<GenericError> for DropSegmentError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for IndexChangeError
impl From<GenericError> for IndexChangeError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for IndexError
impl From<GenericError> for IndexError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for IndexOpsError
impl From<GenericError> for IndexOpsError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for OpenError
impl From<GenericError> for OpenError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for OpenMemoryError
impl From<GenericError> for OpenMemoryError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for PersyError
impl From<GenericError> for PersyError
sourcefn from(e: GenericError) -> Self
fn from(e: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for PrepareError
impl From<GenericError> for PrepareError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for ReadError
impl From<GenericError> for ReadError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for SegmentError
impl From<GenericError> for SegmentError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl From<GenericError> for UpdateError
impl From<GenericError> for UpdateError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
sourceimpl<T> From<PoisonError<T>> for GenericError
impl<T> From<PoisonError<T>> for GenericError
sourcefn from(_: PoisonError<T>) -> GenericError
fn from(_: PoisonError<T>) -> GenericError
Converts to this type from the input type.
sourceimpl From<ReadError> for GenericError
impl From<ReadError> for GenericError
Auto Trait Implementations
impl !RefUnwindSafe for GenericError
impl Send for GenericError
impl Sync for GenericError
impl Unpin for GenericError
impl !UnwindSafe for GenericError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more