pub struct InclusionError {
pub name: ErrorName,
pub detail: String,
}Expand description
A refusal: the failing check’s error name (§14) and a message for people.
Fields§
§name: ErrorName§detail: StringImplementations§
Trait Implementations§
Source§impl Clone for InclusionError
impl Clone for InclusionError
Source§impl Debug for InclusionError
impl Debug for InclusionError
Source§impl Display for InclusionError
impl Display for InclusionError
impl Eq for InclusionError
Source§impl Error for InclusionError
impl Error for InclusionError
1.30.0 · 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 PartialEq for InclusionError
impl PartialEq for InclusionError
impl StructuralPartialEq for InclusionError
Auto Trait Implementations§
impl Forget for InclusionError
impl Freeze for InclusionError
impl Move for InclusionError
impl RefUnwindSafe for InclusionError
impl Send for InclusionErrorwhere
RawVecInner: Send,
impl Sync for InclusionErrorwhere
RawVecInner: Sync,
impl Unpin for InclusionError
impl UnsafeUnpin for InclusionError
impl UnwindSafe for InclusionErrorwhere
RawVecInner: UnwindSafe,
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