pub enum ReplayError {
Io {
path: String,
source: Error,
},
Parse {
path: String,
source: Error,
},
MissingBootSource,
CollectionCap {
field: &'static str,
max: usize,
},
Validation(String),
Dispatch {
label: &'static str,
source: ApiError,
},
Fault {
label: &'static str,
status: u16,
fault_message: String,
},
}Expand description
Errors produced while replaying a static configuration file.
Variants§
Io
File could not be read.
Parse
File could not be parsed as JSON.
MissingBootSource
boot-source is mandatory.
CollectionCap
Per-class collection caps overflow.
Validation(String)
A nested validation rejected an action.
Dispatch
The controller surfaced an error while dispatching the action.
Fields
Fault
VMM responded with a fault_message.
Trait Implementations§
Source§impl Debug for ReplayError
impl Debug for ReplayError
Source§impl Display for ReplayError
impl Display for ReplayError
Source§impl Error for ReplayError
impl Error for ReplayError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for ReplayError
impl !RefUnwindSafe for ReplayError
impl Send for ReplayError
impl Sync for ReplayError
impl Unpin for ReplayError
impl UnsafeUnpin for ReplayError
impl !UnwindSafe for ReplayError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more