pub struct SecurityUnsupportedError {
pub target: Cow<'static, str>,
pub operation: Cow<'static, str>,
pub reason: Option<Cow<'static, str>>,
}Expand description
Unsupported security operation.
Fields§
§target: Cow<'static, str>The target/backend where operation was attempted.
operation: Cow<'static, str>The unsupported operation.
reason: Option<Cow<'static, str>>Optional additional reason.
Implementations§
Trait Implementations§
Source§impl Debug for SecurityUnsupportedError
impl Debug for SecurityUnsupportedError
Source§impl Display for SecurityUnsupportedError
impl Display for SecurityUnsupportedError
Source§impl Error for SecurityUnsupportedError
impl Error for SecurityUnsupportedError
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 SecurityUnsupportedError
impl RefUnwindSafe for SecurityUnsupportedError
impl Send for SecurityUnsupportedError
impl Sync for SecurityUnsupportedError
impl Unpin for SecurityUnsupportedError
impl UnsafeUnpin for SecurityUnsupportedError
impl UnwindSafe for SecurityUnsupportedError
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