pub enum KeychainSetupError {
Io(Error),
Command(CommandError),
Getrandom(Error),
NonUtf8Path {
path: PathBuf,
},
}Expand description
The underlying error during a keychain setup step.
Variants§
Trait Implementations§
Source§impl Debug for KeychainSetupError
impl Debug for KeychainSetupError
Source§impl Display for KeychainSetupError
impl Display for KeychainSetupError
Source§impl Error for KeychainSetupError
impl Error for KeychainSetupError
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<CommandError> for KeychainSetupError
impl From<CommandError> for KeychainSetupError
Source§fn from(source: CommandError) -> Self
fn from(source: CommandError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for KeychainSetupError
impl From<Error> for KeychainSetupError
Auto Trait Implementations§
impl Freeze for KeychainSetupError
impl !RefUnwindSafe for KeychainSetupError
impl Send for KeychainSetupError
impl Sync for KeychainSetupError
impl Unpin for KeychainSetupError
impl UnsafeUnpin for KeychainSetupError
impl !UnwindSafe for KeychainSetupError
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