Enum persy::SegmentError
source · pub enum SegmentError {
Generic(GenericError),
SegmentNotFound,
}
Variants§
Generic(GenericError)
SegmentNotFound
Trait Implementations§
source§impl Debug for SegmentError
impl Debug for SegmentError
source§impl Display for SegmentError
impl Display for SegmentError
source§impl Error for SegmentError
impl Error for SegmentError
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 SegmentError
impl From<GenericError> for SegmentError
source§fn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
source§impl From<SegmentError> for DeleteError
impl From<SegmentError> for DeleteError
source§fn from(e: SegmentError) -> Self
fn from(e: SegmentError) -> Self
Converts to this type from the input type.
source§impl From<SegmentError> for DropSegmentError
impl From<SegmentError> for DropSegmentError
source§fn from(e: SegmentError) -> Self
fn from(e: SegmentError) -> Self
Converts to this type from the input type.
source§impl From<SegmentError> for IndexChangeError
impl From<SegmentError> for IndexChangeError
source§fn from(e: SegmentError) -> Self
fn from(e: SegmentError) -> Self
Converts to this type from the input type.
source§impl From<SegmentError> for IndexError
impl From<SegmentError> for IndexError
source§fn from(e: SegmentError) -> Self
fn from(e: SegmentError) -> Self
Converts to this type from the input type.
source§impl From<SegmentError> for PersyError
impl From<SegmentError> for PersyError
source§fn from(e: SegmentError) -> Self
fn from(e: SegmentError) -> Self
Converts to this type from the input type.
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.
source§impl From<SegmentError> for UpdateError
impl From<SegmentError> for UpdateError
source§fn from(e: SegmentError) -> Self
fn from(e: SegmentError) -> Self
Converts to this type from the input type.