pub enum SdkError {
Show 15 variants
Util(SdkUtilError),
JsonToStringFailed,
JsonParseFailed(Error),
JsonParse,
DecodeHashedAuthKey,
DecodeEncryptedDataFailed,
DecodeSymKeyFailed,
KeyDecryptFailed,
LoginServerOutputWrong,
KeyRotationServerOutputWrong,
KeyRotationEncryptError(String),
AlgNotFound,
GroupRank,
GroupUserKickRank,
GroupPermission,
}
Variants§
Util(SdkUtilError)
JsonToStringFailed
JsonParseFailed(Error)
JsonParse
DecodeHashedAuthKey
DecodeEncryptedDataFailed
DecodeSymKeyFailed
KeyDecryptFailed
LoginServerOutputWrong
KeyRotationServerOutputWrong
KeyRotationEncryptError(String)
AlgNotFound
GroupRank
GroupUserKickRank
GroupPermission
Trait Implementations§
Source§impl From<SdkUtilError> for SdkError
impl From<SdkUtilError> for SdkError
Source§fn from(value: SdkUtilError) -> Self
fn from(value: SdkUtilError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SdkError
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