#[non_exhaustive]pub enum ReadError {
Generic(GenericError),
SegmentNotFound,
InvalidPersyId(RecRef),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Error for ReadError
impl Error for ReadError
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<GenericError> for ReadError
impl From<GenericError> for ReadError
source§fn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
source§impl From<ReadError> for DeleteError
impl From<ReadError> for DeleteError
source§impl From<ReadError> for IndexError
impl From<ReadError> for IndexError
source§impl From<ReadError> for PersyError
impl From<ReadError> for PersyError
source§impl From<ReadError> for PrepareError
impl From<ReadError> for PrepareError
source§fn from(read: ReadError) -> PrepareError
fn from(read: ReadError) -> PrepareError
Converts to this type from the input type.
source§impl From<ReadError> for UpdateError
impl From<ReadError> for UpdateError
source§impl From<SegmentError> for ReadError
impl From<SegmentError> for ReadError
source§fn from(e: SegmentError) -> Self
fn from(e: SegmentError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ReadError
impl Send for ReadError
impl Sync for ReadError
impl Unpin for ReadError
impl !UnwindSafe for ReadError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more