pub struct Rejection<'a> {
pub at: Option<ConstraintSource>,
pub reason: RejectionReason<'a>,
}Expand description
A semantic failure at its source; None denotes the whole supplied input.
Fields§
§at: Option<ConstraintSource>Leaf-first certificate position, anchor, or whole-input failure.
reason: RejectionReason<'a>The completed rejection reason.
Trait Implementations§
impl<'a> Copy for Rejection<'a>
impl<'a> Eq for Rejection<'a>
impl<'a> StructuralPartialEq for Rejection<'a>
Auto Trait Implementations§
impl<'a> Freeze for Rejection<'a>
impl<'a> RefUnwindSafe for Rejection<'a>
impl<'a> Send for Rejection<'a>
impl<'a> Sync for Rejection<'a>
impl<'a> Unpin for Rejection<'a>
impl<'a> UnsafeUnpin for Rejection<'a>
impl<'a> UnwindSafe for Rejection<'a>
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