pub enum ReadError {
Generic(GenericError),
SegmentNotFound,
InvalidPersyId(RecRef),
}
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.