pub enum CompletionErrorCode {
Show 24 variants
NodeBusy,
InvalidCommand,
InvalidCommandForLun,
ProcessingTimeout,
OutOfSpace,
ReservationCancelledOrInvalidId,
RequestDataTruncated,
RequestDataLenInvalid,
RequestDataLengthLimitExceeded,
ParameterOutOfRange,
CannotReturnNumOfRequestedBytes,
RequestedDatapointNotPresent,
InvalidDataFieldInRequest,
CommandIllegalForSensorOrRecord,
ResponseUnavailable {
reason: ResponseUnavailableReason,
},
CannotExecuteDuplicateRequest,
DestinationUnavailable,
InsufficientPrivilege,
CannotExecuteCommandInCurrentState,
SubFunctionDisabled,
Unspecified,
Oem(u8),
CommandSpecific(u8),
Reserved(u8),
}Variants§
NodeBusy
InvalidCommand
InvalidCommandForLun
ProcessingTimeout
OutOfSpace
ReservationCancelledOrInvalidId
RequestDataTruncated
RequestDataLenInvalid
RequestDataLengthLimitExceeded
ParameterOutOfRange
CannotReturnNumOfRequestedBytes
RequestedDatapointNotPresent
InvalidDataFieldInRequest
CommandIllegalForSensorOrRecord
CannotExecuteDuplicateRequest
InsufficientPrivilege
CannotExecuteCommandInCurrentState
SubFunctionDisabled
Unspecified
Oem(u8)
CommandSpecific(u8)
Reserved(u8)
Implementations§
Source§impl CompletionErrorCode
impl CompletionErrorCode
Sourcepub fn is_reserved(&self) -> bool
pub fn is_reserved(&self) -> bool
Whether this completion code is a reserved value or not.
Trait Implementations§
Source§impl Clone for CompletionErrorCode
impl Clone for CompletionErrorCode
Source§fn clone(&self) -> CompletionErrorCode
fn clone(&self) -> CompletionErrorCode
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 CompletionErrorCode
impl Debug for CompletionErrorCode
Source§impl PartialEq for CompletionErrorCode
impl PartialEq for CompletionErrorCode
Source§impl TryFrom<u8> for CompletionErrorCode
impl TryFrom<u8> for CompletionErrorCode
impl Copy for CompletionErrorCode
impl StructuralPartialEq for CompletionErrorCode
Auto Trait Implementations§
impl Freeze for CompletionErrorCode
impl RefUnwindSafe for CompletionErrorCode
impl Send for CompletionErrorCode
impl Sync for CompletionErrorCode
impl Unpin for CompletionErrorCode
impl UnwindSafe for CompletionErrorCode
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