Enum persist::error::Error [−][src]
pub enum Error {
IO(Arc<Error>),
OutOfQuota(String),
String(String),
UnknownRegistration(String),
Noop(SeqNo, String),
RuntimeShutdown,
}
Expand description
A persistence related error.
Variants
IO(Arc<Error>)
A persistence related error resulting from an io failure.
OutOfQuota(String)
Tuple Fields
0: String
An operation failed because storage was out of space or quota.
String(String)
Tuple Fields
0: String
An unstructured persistence related error.
UnknownRegistration(String)
Tuple Fields
0: String
There is no stream registered under the given name.
Noop(SeqNo, String)
The associated write request was sequenced (given a SeqNo) and applied to the persist state machine, but that application was deterministically made into a no-op because it was contextually invalid (a write or seal at a sealed timestamp, an allow_compactions at an unsealed timestamp, etc).
RuntimeShutdown
An error returned when a command is sent to a persistence runtime that was previously stopped.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more