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>),
}
Expand description
Application errors
Variants
NotFound(String)
Tuple Fields of NotFound
0: String
InvalidValue(String)
Tuple Fields of InvalidValue
0: String
InvalidConfiguration(String)
Tuple Fields of InvalidConfiguration
0: String
IllegalState(String)
Tuple Fields of IllegalState
0: String
General(String)
Tuple Fields of General
0: String
Io(Error)
Tuple Fields of Io
0: Error
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