pub struct PK11URIError { /* private fields */ }Expand description
Issued when parsing a PKCS#11 URI is found to be in violation of RFC7512 specifications.
The included pk11_uri is a “tidied” version of the one provided to the
parse function: any newline or tab formatting has been stripped out
in order to accurately identify the error_span within the uri. The violation
will refer to the RFC7512 Augmented BNF whenever possible, while the help
value provides a more human-friendly suggestion to correcting the violation.
Trait Implementations§
Source§impl Debug for PK11URIError
impl Debug for PK11URIError
Source§impl Display for PK11URIError
Highlights the issue using the error_span.
impl Display for PK11URIError
Highlights the issue using the error_span.
Source§impl Error for PK11URIError
impl Error for PK11URIError
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()
Auto Trait Implementations§
impl Freeze for PK11URIError
impl RefUnwindSafe for PK11URIError
impl Send for PK11URIError
impl Sync for PK11URIError
impl Unpin for PK11URIError
impl UnwindSafe for PK11URIError
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