Enum rocfl::ocfl::RocflError
source · [−]pub enum RocflError {
CorruptObject {
object_id: String,
message: String,
},
NotFound(String),
InvalidValue(String),
InvalidConfiguration(String),
IllegalState(String),
LockAcquire(String, String),
General(String),
CopyMoveError(MultiError),
Closed,
Io(Error),
Wrapped(Box<dyn Error + Sync + Send>),
}
Expand description
Application errors
Variants
CorruptObject
NotFound(String)
InvalidValue(String)
InvalidConfiguration(String)
IllegalState(String)
LockAcquire(String, String)
General(String)
CopyMoveError(MultiError)
Closed
Io(Error)
Wrapped(Box<dyn Error + Sync + Send>)
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RocflError
impl Send for RocflError
impl Sync for RocflError
impl Unpin for RocflError
impl !UnwindSafe for RocflError
Blanket Implementations
Mutably borrows from an owned value. Read more
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