pub enum KeyImportError {
Export(KeyExportError),
CryptoStore(CryptoStoreError),
Json(Error),
}
Variants§
Trait Implementations§
source§impl<UT> ConvertError<UT> for KeyImportError
impl<UT> ConvertError<UT> for KeyImportError
fn try_convert_unexpected_callback_error( e: UnexpectedUniFFICallbackError ) -> Result<Self>
source§impl Debug for KeyImportError
impl Debug for KeyImportError
source§impl Display for KeyImportError
impl Display for KeyImportError
source§impl Error for KeyImportError
impl Error for KeyImportError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<CryptoStoreError> for KeyImportError
impl From<CryptoStoreError> for KeyImportError
source§fn from(source: InnerStoreError) -> Self
fn from(source: InnerStoreError) -> Self
Converts to this type from the input type.
source§impl From<Error> for KeyImportError
impl From<Error> for KeyImportError
source§impl From<KeyExportError> for KeyImportError
impl From<KeyExportError> for KeyImportError
source§fn from(source: KeyExportError) -> Self
fn from(source: KeyExportError) -> Self
Converts to this type from the input type.
source§impl<T> Lift<T> for KeyImportError
impl<T> Lift<T> for KeyImportError
type FfiType = RustBuffer
fn try_read(buf: &mut &[u8]) -> Result<Self>
fn try_lift(v: RustBuffer) -> Result<Self>
const TYPE_ID_META: MetadataBuffer = _
source§fn try_lift_from_rust_buffer(v: RustBuffer) -> Result<Self, Error>
fn try_lift_from_rust_buffer(v: RustBuffer) -> Result<Self, Error>
Convenience method
source§impl<T> Lower<T> for KeyImportError
impl<T> Lower<T> for KeyImportError
type FfiType = RustBuffer
fn write(obj: Self, buf: &mut Vec<u8>)
fn lower(obj: Self) -> RustBuffer
const TYPE_ID_META: MetadataBuffer = _
source§fn lower_into_rust_buffer(obj: Self) -> RustBuffer
fn lower_into_rust_buffer(obj: Self) -> RustBuffer
Convenience method
Auto Trait Implementations§
impl Freeze for KeyImportError
impl !RefUnwindSafe for KeyImportError
impl Send for KeyImportError
impl Sync for KeyImportError
impl Unpin for KeyImportError
impl !UnwindSafe for KeyImportError
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more