#[non_exhaustive]pub enum ResultReason {
Show 18 variants
ItemNotFound,
ResponseTooLarge,
AuthenticationNotSuccessful,
InvalidMessage,
OperationNotSupported,
MissingData,
InvalidField,
FeatureNotSupported,
OperationCanceledByRequester,
CryptographicFailure,
IllegalOperation,
PermissionDenied,
ObjectArchived,
IndexOutOfBounds,
ApplicationNamespaceNotSupported,
KeyFormatTypeNotSupported,
KeyCompressionTypeNotSupported,
GeneralFailure,
}
Expand description
See KMIP 1.0 section 6.10 Result Reason.
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.
ItemNotFound
ResponseTooLarge
AuthenticationNotSuccessful
InvalidMessage
OperationNotSupported
MissingData
InvalidField
FeatureNotSupported
OperationCanceledByRequester
CryptographicFailure
IllegalOperation
PermissionDenied
ObjectArchived
IndexOutOfBounds
ApplicationNamespaceNotSupported
KeyFormatTypeNotSupported
KeyCompressionTypeNotSupported
GeneralFailure
Trait Implementations§
Source§impl Clone for ResultReason
impl Clone for ResultReason
Source§fn clone(&self) -> ResultReason
fn clone(&self) -> ResultReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ResultReason
impl Debug for ResultReason
Source§impl<'de> Deserialize<'de> for ResultReason
impl<'de> Deserialize<'de> for ResultReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ResultReason
impl Display for ResultReason
Source§impl PartialEq for ResultReason
impl PartialEq for ResultReason
impl Copy for ResultReason
impl Eq for ResultReason
impl StructuralPartialEq for ResultReason
Auto Trait Implementations§
impl Freeze for ResultReason
impl RefUnwindSafe for ResultReason
impl Send for ResultReason
impl Sync for ResultReason
impl Unpin for ResultReason
impl UnwindSafe for ResultReason
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