pub enum VasariError {
NodeNotFound(String),
HashMismatch {
expected: String,
actual: String,
},
InvalidNodeId(String),
IncompatibleStore {
found: String,
expected: String,
},
AmbiguousPrefix {
prefix: String,
count: usize,
},
AttributionNotFound {
path: String,
line: u32,
},
PlanNotFound(String),
PlanStepOutOfBounds {
plan_id: String,
step_index: usize,
step_count: usize,
},
Degraded(DegradedReason),
Io(Error),
Json(Error),
}Variants§
NodeNotFound(String)
HashMismatch
InvalidNodeId(String)
IncompatibleStore
AmbiguousPrefix
AttributionNotFound
PlanNotFound(String)
PlanStepOutOfBounds
Degraded(DegradedReason)
Io(Error)
Json(Error)
Trait Implementations§
Source§impl Debug for VasariError
impl Debug for VasariError
Source§impl Display for VasariError
impl Display for VasariError
Source§impl Error for VasariError
impl Error for VasariError
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()
Source§impl From<Error> for VasariError
impl From<Error> for VasariError
Auto Trait Implementations§
impl !RefUnwindSafe for VasariError
impl !UnwindSafe for VasariError
impl Freeze for VasariError
impl Send for VasariError
impl Sync for VasariError
impl Unpin for VasariError
impl UnsafeUnpin for VasariError
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