#[non_exhaustive]pub enum ErrorExt {
Error(Error),
MaximumSignatureChecksExceeded,
MaximumPathBuildCallsExceeded,
}
Expand description
An error that occurs during certificate validation or name validation.
ErrorExt
effectively extends Error
to support reporting new errors. Because Error
is not
declared #[non_exhaustive]
it could not be directly extended in a backward-compatible way.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Error(Error)
MaximumSignatureChecksExceeded
MaximumPathBuildCallsExceeded
The maximum number of internal path building calls has been reached. Path complexity is too great.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ErrorExt
impl Send for ErrorExt
impl Sync for ErrorExt
impl Unpin for ErrorExt
impl UnwindSafe for ErrorExt
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