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