Enum ironoxide::IronOxideErr [−][src]
#[non_exhaustive] pub enum IronOxideErr {}Show variants
ValidationError(String, String), DocumentHeaderParseFailure(String), WrongSizeError(Option<usize>, Option<usize>), KeyGenerationError, AesError(Unspecified), AesEncryptedDocSizeError, InvalidRecryptEncryptedValue(String), RecryptError(String), UserDoesNotExist(String), UserOrGroupDoesNotExist(UserOrGroup), InitializeError(String), RequestError { message: String, code: RequestErrorCode, http_status: Option<u16>, }, RequestServerErrors { errors: Vec<ServerError>, code: RequestErrorCode, http_status: Option<u16>, }, MissingTransformBlocks, NotGroupAdmin(GroupId), PolicyDoesNotExist, ProtobufSerdeError(ProtobufError), ProtobufValidationError(String), UnmanagedDecryptionError(String, i32, String, i32), UserPrivateKeyRotationError(String), GroupPrivateKeyRotationError(String), OperationTimedOut { operation: SdkOperation, duration: Duration, }, JoinError(String),
Expand description
Errors generated by IronOxide SDK operations
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DocumentHeaderParseFailure(String)
AesError(Unspecified)
InvalidRecryptEncryptedValue(String)
RecryptError(String)
UserDoesNotExist(String)
UserOrGroupDoesNotExist(UserOrGroup)
InitializeError(String)
This is used if the response from the server was an error. In that case we know that the format of the errors will be ServerError
.
Show fields
NotGroupAdmin(GroupId)
The operation failed because the accessing user was not a group admin, but must be for the operation to work.
No policy exists for the segment
ProtobufSerdeError(ProtobufError)
Protobuf encode/decode error
ProtobufValidationError(String)
Protobuf decode succeeded, but the result is not valid
UserPrivateKeyRotationError(String)
GroupPrivateKeyRotationError(String)
Show fields
Fields of OperationTimedOut
operation: SdkOperation
duration: Duration
JoinError(String)
Trait Implementations
Performs the conversion.
A way to turn IronSdkErr into Strings for the Java binding
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for IronOxideErr
impl Send for IronOxideErr
impl Sync for IronOxideErr
impl Unpin for IronOxideErr
impl !UnwindSafe for IronOxideErr