pub struct KeyringErrorAdapter(/* private fields */);
Expand description
Workaround type to provide Sync on Linux.
On Linux, [keyring::KeyringError] does not implement Sync
due to depending
on an older version of the dbus
crate. This prevents usage of anyhow
. This
wrapper is used to bypass that issue on Linux.
Trait Implementations§
Source§impl Debug for KeyringErrorAdapter
impl Debug for KeyringErrorAdapter
Source§impl Display for KeyringErrorAdapter
impl Display for KeyringErrorAdapter
Source§impl Error for KeyringErrorAdapter
impl Error for KeyringErrorAdapter
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<Error> for KeyringErrorAdapter
impl From<Error> for KeyringErrorAdapter
Source§impl From<KeyringErrorAdapter> for TerraRustWalletError
impl From<KeyringErrorAdapter> for TerraRustWalletError
Source§fn from(source: KeyringErrorAdapter) -> Self
fn from(source: KeyringErrorAdapter) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyringErrorAdapter
impl RefUnwindSafe for KeyringErrorAdapter
impl Send for KeyringErrorAdapter
impl Sync for KeyringErrorAdapter
impl Unpin for KeyringErrorAdapter
impl UnwindSafe for KeyringErrorAdapter
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