pub enum XmlSecError {
XmlParse(String),
Canonicalization(String),
SignatureInvalid(String),
UnsupportedAlgorithm(String),
Certificate(String),
Crypto(String),
Key(String),
}Expand description
Errors that can occur during XML security operations.
Variants§
XmlParse(String)
XML parsing error.
Canonicalization(String)
Canonicalization error.
SignatureInvalid(String)
Signature verification failed.
UnsupportedAlgorithm(String)
Unsupported algorithm.
Certificate(String)
Certificate error.
Crypto(String)
Cryptographic operation failed.
Key(String)
Key not found or invalid.
Trait Implementations§
Source§impl Debug for XmlSecError
impl Debug for XmlSecError
Source§impl Display for XmlSecError
impl Display for XmlSecError
Source§impl Error for XmlSecError
impl Error for XmlSecError
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 XmlSecError
impl RefUnwindSafe for XmlSecError
impl Send for XmlSecError
impl Sync for XmlSecError
impl Unpin for XmlSecError
impl UnsafeUnpin for XmlSecError
impl UnwindSafe for XmlSecError
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