Enum persy::PrepareError
source · pub enum PrepareError {
Generic(GenericError),
IndexNotFound,
SegmentNotFound,
SegmentAlreadyExists,
IndexAlreadyExists,
TransactionTimeout,
RecordNotFound(PersyId),
VersionNotLastest,
IndexDuplicateKey(String, String),
}
Variants§
Generic(GenericError)
IndexNotFound
SegmentNotFound
SegmentAlreadyExists
IndexAlreadyExists
TransactionTimeout
RecordNotFound(PersyId)
VersionNotLastest
IndexDuplicateKey(String, String)
Trait Implementations§
source§impl Debug for PrepareError
impl Debug for PrepareError
source§impl Display for PrepareError
impl Display for PrepareError
source§impl Error for PrepareError
impl Error for PrepareError
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 PrepareError
impl From<GenericError> for PrepareError
source§fn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
source§impl From<IndexChangeError> for PrepareError
impl From<IndexChangeError> for PrepareError
source§fn from(e: IndexChangeError) -> Self
fn from(e: IndexChangeError) -> Self
Converts to this type from the input type.
source§impl From<PrepareError> for PersyError
impl From<PrepareError> for PersyError
source§fn from(e: PrepareError) -> Self
fn from(e: PrepareError) -> Self
Converts to this type from the input type.
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.