pub struct SecretError {
pub code: String,
pub message: String,
}Expand description
Error returned by secret operations
Fields§
§code: StringError code
message: StringError message
Implementations§
Trait Implementations§
Source§impl Clone for SecretError
impl Clone for SecretError
Source§fn clone(&self) -> SecretError
fn clone(&self) -> SecretError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SecretError
impl Debug for SecretError
Auto Trait Implementations§
impl Freeze for SecretError
impl RefUnwindSafe for SecretError
impl Send for SecretError
impl Sync for SecretError
impl Unpin for SecretError
impl UnsafeUnpin for SecretError
impl UnwindSafe for SecretError
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