pub enum CosmianError {
Show 37 variants
Base64(DecodeError),
Configuration(String),
Conversion(String),
ConfigUtilsError(ConfigUtilsError),
CovercryptError(Error),
CryptoError(CryptoError),
CsvError(Error),
Default(String),
DerError(Error),
Findex(Error<Address<ADDRESS_LENGTH>>),
FindexCli(FindexCliError),
FindexClientConfig(ClientError),
FmtError(Error),
FromHexError(FromHexError),
FromUtf8Error(FromUtf8Error),
GmailApiError(String),
HttpClientError(HttpClientError),
InconsistentOperation(String),
InvalidRequest(String),
IoError(Error),
ItemNotFound(String),
KmipError(KmipError),
KmsCliError(KmsCliError),
KmsClientError(KmsClientError),
NotSupported(String),
RouteNotFound(String),
SerdeJsonError(Error),
ServerError(String),
StructsError(StructsError),
TryFromIntError(TryFromIntError),
TTLVError(TtlvError),
UrlParsing(ParseError),
UserError(String),
Utf8Error(Utf8Error),
UuidError(Error),
Unauthorized(String),
UtilsError(UtilsError),
}Variants§
Base64(DecodeError)
Configuration(String)
Conversion(String)
ConfigUtilsError(ConfigUtilsError)
CovercryptError(Error)
CryptoError(CryptoError)
CsvError(Error)
Default(String)
DerError(Error)
Findex(Error<Address<ADDRESS_LENGTH>>)
FindexCli(FindexCliError)
FindexClientConfig(ClientError)
FmtError(Error)
FromHexError(FromHexError)
FromUtf8Error(FromUtf8Error)
GmailApiError(String)
HttpClientError(HttpClientError)
InconsistentOperation(String)
InvalidRequest(String)
IoError(Error)
ItemNotFound(String)
KmipError(KmipError)
KmsCliError(KmsCliError)
KmsClientError(KmsClientError)
NotSupported(String)
RouteNotFound(String)
SerdeJsonError(Error)
ServerError(String)
StructsError(StructsError)
TryFromIntError(TryFromIntError)
TTLVError(TtlvError)
UrlParsing(ParseError)
UserError(String)
Utf8Error(Utf8Error)
UuidError(Error)
UtilsError(UtilsError)
Trait Implementations§
Source§impl Debug for CosmianError
impl Debug for CosmianError
Source§impl Display for CosmianError
impl Display for CosmianError
Source§impl Error for CosmianError
impl Error for CosmianError
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<ClientError> for CosmianError
impl From<ClientError> for CosmianError
Source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
Source§impl From<ConfigUtilsError> for CosmianError
impl From<ConfigUtilsError> for CosmianError
Source§fn from(source: ConfigUtilsError) -> Self
fn from(source: ConfigUtilsError) -> Self
Converts to this type from the input type.
Source§impl From<CryptoError> for CosmianError
impl From<CryptoError> for CosmianError
Source§fn from(source: CryptoError) -> Self
fn from(source: CryptoError) -> Self
Converts to this type from the input type.
Source§impl From<DecodeError> for CosmianError
impl From<DecodeError> for CosmianError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CosmianError
impl From<Error> for CosmianError
Source§impl From<Error> for CosmianError
impl From<Error> for CosmianError
Source§impl From<Error> for CosmianError
impl From<Error> for CosmianError
Source§impl From<Error> for CosmianError
impl From<Error> for CosmianError
Source§impl From<Error> for CosmianError
impl From<Error> for CosmianError
Source§impl From<Error> for CosmianError
impl From<Error> for CosmianError
Source§impl From<Error> for CosmianError
impl From<Error> for CosmianError
Source§impl From<FindexCliError> for CosmianError
impl From<FindexCliError> for CosmianError
Source§fn from(source: FindexCliError) -> Self
fn from(source: FindexCliError) -> Self
Converts to this type from the input type.
Source§impl From<FromHexError> for CosmianError
impl From<FromHexError> for CosmianError
Source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for CosmianError
impl From<FromUtf8Error> for CosmianError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<GoogleApiError> for CosmianError
impl From<GoogleApiError> for CosmianError
Source§fn from(e: GoogleApiError) -> Self
fn from(e: GoogleApiError) -> Self
Converts to this type from the input type.
Source§impl From<HttpClientError> for CosmianError
impl From<HttpClientError> for CosmianError
Source§fn from(source: HttpClientError) -> Self
fn from(source: HttpClientError) -> Self
Converts to this type from the input type.
Source§impl From<KmipError> for CosmianError
impl From<KmipError> for CosmianError
Source§impl From<KmsCliError> for CosmianError
impl From<KmsCliError> for CosmianError
Source§fn from(source: KmsCliError) -> Self
fn from(source: KmsCliError) -> Self
Converts to this type from the input type.
Source§impl From<KmsClientError> for CosmianError
impl From<KmsClientError> for CosmianError
Source§fn from(source: KmsClientError) -> Self
fn from(source: KmsClientError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for CosmianError
impl From<ParseError> for CosmianError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<StructsError> for CosmianError
impl From<StructsError> for CosmianError
Source§fn from(source: StructsError) -> Self
fn from(source: StructsError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for CosmianError
impl From<TryFromIntError> for CosmianError
Source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Source§impl From<TtlvError> for CosmianError
impl From<TtlvError> for CosmianError
Source§impl From<Utf8Error> for CosmianError
impl From<Utf8Error> for CosmianError
Source§impl From<UtilsError> for CosmianError
impl From<UtilsError> for CosmianError
Source§fn from(source: UtilsError) -> Self
fn from(source: UtilsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CosmianError
impl !RefUnwindSafe for CosmianError
impl Send for CosmianError
impl Sync for CosmianError
impl Unpin for CosmianError
impl !UnwindSafe for CosmianError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.