pub enum BlameSliceError {
MissingPath,
Unblamable,
MissingObject {
kind: &'static str,
id: String,
},
BudgetExceeded(BudgetExceeded),
InvalidFrontier(String),
InvalidCoverage,
Store(HeddleError),
}Expand description
Typed slice failure. Missing objects are distinct from budget exhaustion.
Variants§
MissingPath
Unblamable
MissingObject
BudgetExceeded(BudgetExceeded)
InvalidFrontier(String)
InvalidCoverage
Store(HeddleError)
Trait Implementations§
Source§impl Debug for BlameSliceError
impl Debug for BlameSliceError
Source§impl Display for BlameSliceError
impl Display for BlameSliceError
Source§impl Error for BlameSliceError
impl Error for BlameSliceError
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<BudgetExceeded> for BlameSliceError
impl From<BudgetExceeded> for BlameSliceError
Source§fn from(source: BudgetExceeded) -> Self
fn from(source: BudgetExceeded) -> Self
Converts to this type from the input type.
Source§impl From<HeddleError> for BlameSliceError
impl From<HeddleError> for BlameSliceError
Source§fn from(source: HeddleError) -> Self
fn from(source: HeddleError) -> Self
Converts to this type from the input type.
Source§impl From<LineDiffError> for BlameSliceError
impl From<LineDiffError> for BlameSliceError
Source§fn from(error: LineDiffError) -> Self
fn from(error: LineDiffError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BlameSliceError
impl !UnwindSafe for BlameSliceError
impl Freeze for BlameSliceError
impl Send for BlameSliceError
impl Sync for BlameSliceError
impl Unpin for BlameSliceError
impl UnsafeUnpin for BlameSliceError
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