pub struct ConformanceError { /* private fields */ }Expand description
A conformance failure with its descriptor path and payload-free category.
Implementations§
Source§impl ConformanceError
impl ConformanceError
Sourcepub fn kind(&self) -> &ConformanceErrorKind
pub fn kind(&self) -> &ConformanceErrorKind
Returns the failure category.
Sourcepub fn path(&self) -> &[PathSegment]
pub fn path(&self) -> &[PathSegment]
Returns the path from the call slot to the failure.
Trait Implementations§
Source§impl Clone for ConformanceError
impl Clone for ConformanceError
Source§fn clone(&self) -> ConformanceError
fn clone(&self) -> ConformanceError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConformanceError
impl Debug for ConformanceError
Source§impl Display for ConformanceError
impl Display for ConformanceError
impl Eq for ConformanceError
Source§impl Error for ConformanceError
impl Error for ConformanceError
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 ConformanceError
impl PartialEq for ConformanceError
impl StructuralPartialEq for ConformanceError
Auto Trait Implementations§
impl Freeze for ConformanceError
impl RefUnwindSafe for ConformanceError
impl Send for ConformanceError
impl Sync for ConformanceError
impl Unpin for ConformanceError
impl UnsafeUnpin for ConformanceError
impl UnwindSafe for ConformanceError
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