pub enum CryptoStoreError {
OpenStore(OpenStoreError),
CryptoStore(CryptoStoreError),
OlmError(OlmError),
Serialization(Error),
InvalidUserId(String, IdParseError),
Identifier(IdParseError),
DehydrationError(DehydrationError),
}
Variants§
OpenStore(OpenStoreError)
CryptoStore(CryptoStoreError)
OlmError(OlmError)
Serialization(Error)
InvalidUserId(String, IdParseError)
Identifier(IdParseError)
DehydrationError(DehydrationError)
Trait Implementations§
Source§impl<UT> ConvertError<UT> for CryptoStoreError
impl<UT> ConvertError<UT> for CryptoStoreError
fn try_convert_unexpected_callback_error( e: UnexpectedUniFFICallbackError, ) -> Result<Self>
Source§impl Debug for CryptoStoreError
impl Debug for CryptoStoreError
Source§impl Display for CryptoStoreError
impl Display for CryptoStoreError
Source§impl Error for CryptoStoreError
impl Error for CryptoStoreError
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<CryptoStoreError> for CryptoStoreError
impl From<CryptoStoreError> for CryptoStoreError
Source§fn from(source: InnerStoreError) -> Self
fn from(source: InnerStoreError) -> Self
Converts to this type from the input type.
Source§impl From<DehydrationError> for CryptoStoreError
impl From<DehydrationError> for CryptoStoreError
Source§fn from(source: InnerDehydrationError) -> Self
fn from(source: InnerDehydrationError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CryptoStoreError
impl From<Error> for CryptoStoreError
Source§impl From<Error> for CryptoStoreError
impl From<Error> for CryptoStoreError
Source§fn from(source: IdParseError) -> Self
fn from(source: IdParseError) -> Self
Converts to this type from the input type.
Source§impl From<OlmError> for CryptoStoreError
impl From<OlmError> for CryptoStoreError
Source§impl From<OpenStoreError> for CryptoStoreError
impl From<OpenStoreError> for CryptoStoreError
Source§fn from(source: OpenStoreError) -> Self
fn from(source: OpenStoreError) -> Self
Converts to this type from the input type.
Source§impl<UT> Lift<UT> for CryptoStoreError
impl<UT> Lift<UT> for CryptoStoreError
type FfiType = RustBuffer
fn try_read(buf: &mut &[u8]) -> Result<Self>
fn try_lift(v: RustBuffer) -> Result<Self>
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<UT> Lower<UT> for CryptoStoreError
impl<UT> Lower<UT> for CryptoStoreError
type FfiType = RustBuffer
fn write(obj: Self, buf: &mut Vec<u8>)
fn lower(obj: Self) -> RustBuffer
Source§fn lower_into_rust_buffer(obj: Self) -> RustBuffer
fn lower_into_rust_buffer(obj: Self) -> RustBuffer
Convenience method
Source§impl<UT> LowerError<UT> for CryptoStoreError
impl<UT> LowerError<UT> for CryptoStoreError
Source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Lower this value for scaffolding function return Read more
Source§impl<UT> TypeId<UT> for CryptoStoreError
impl<UT> TypeId<UT> for CryptoStoreError
const TYPE_ID_META: MetadataBuffer = _
Auto Trait Implementations§
impl Freeze for CryptoStoreError
impl !RefUnwindSafe for CryptoStoreError
impl Send for CryptoStoreError
impl Sync for CryptoStoreError
impl Unpin for CryptoStoreError
impl !UnwindSafe for CryptoStoreError
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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