Enum rocfl::ocfl::RocflError [−][src]
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)
Tuple Fields
0: String
InvalidValue(String)
Tuple Fields
0: String
InvalidConfiguration(String)
Tuple Fields
0: String
IllegalState(String)
Tuple Fields
0: String
LockAcquire(String, String)
General(String)
Tuple Fields
0: String
CopyMoveError(MultiError)
Closed
Io(Error)
Tuple Fields
0: 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
pub fn vzip(self) -> V
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