pub enum SecureParseError {
SecurityError(SecurityError),
ParseError(DeError),
}Expand description
Combined error type for secure parsing
Variants§
SecurityError(SecurityError)
ParseError(DeError)
Trait Implementations§
Source§impl Debug for SecureParseError
impl Debug for SecureParseError
Source§impl Display for SecureParseError
impl Display for SecureParseError
Source§impl Error for SecureParseError
impl Error for SecureParseError
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 From<SecurityError> for SecureParseError
impl From<SecurityError> for SecureParseError
Source§fn from(source: SecurityError) -> Self
fn from(source: SecurityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SecureParseError
impl !RefUnwindSafe for SecureParseError
impl Send for SecureParseError
impl Sync for SecureParseError
impl Unpin for SecureParseError
impl UnsafeUnpin for SecureParseError
impl !UnwindSafe for SecureParseError
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