Enum sentc_crypto::SdkError
source · pub enum SdkError {
Show 32 variants
Base(Error),
JsonToStringFailed,
JsonParseFailed(Error),
JsonParse,
DecodeSaltFailed,
DecodeRandomValueFailed,
DecodeHashedAuthKey,
DecodeAuthKey,
DecodeEncryptedDataFailed,
DecodePublicKeyFailed,
DecodeSymKeyFailed,
ImportingSignKeyFailed,
ImportingPrivateKeyFailed,
ImportSymmetricKeyFailed,
ImportPublicKeyFailed,
ImportVerifyKeyFailed,
ImportingKeyFromPemFailed,
ExportingPublicKeyFailed,
DerivedKeyWrongFormat,
SigFoundNotKey,
VerifyFailed,
KeyDecryptFailed,
LoginServerOutputWrong,
KeyRotationServerOutputWrong,
KeyRotationEncryptError(String),
AlgNotFound,
GroupRank,
GroupUserKickRank,
GroupPermission,
SearchableEncryptionDataTooLong,
SearchableEncryptionDataNotFound,
ServerErr(u32, String),
}Variants§
Base(Error)
JsonToStringFailed
JsonParseFailed(Error)
JsonParse
DecodeSaltFailed
DecodeRandomValueFailed
DecodeHashedAuthKey
DecodeAuthKey
DecodeEncryptedDataFailed
DecodePublicKeyFailed
DecodeSymKeyFailed
ImportingSignKeyFailed
ImportingPrivateKeyFailed
ImportSymmetricKeyFailed
ImportPublicKeyFailed
ImportVerifyKeyFailed
ImportingKeyFromPemFailed
ExportingPublicKeyFailed
DerivedKeyWrongFormat
SigFoundNotKey
VerifyFailed
KeyDecryptFailed
LoginServerOutputWrong
KeyRotationServerOutputWrong
KeyRotationEncryptError(String)
AlgNotFound
GroupRank
GroupUserKickRank
GroupPermission
SearchableEncryptionDataTooLong
SearchableEncryptionDataNotFound
ServerErr(u32, String)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SdkError
impl Send for SdkError
impl Sync for SdkError
impl Unpin for SdkError
impl UnwindSafe for SdkError
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