pub enum ResultCode {
Show 34 variants
CommandCompletedSuccessfully = 1_000,
CommandCompletedSuccessfullyActionPending = 1_001,
CommandCompletedSuccessfullyNoMessages = 1_300,
CommandCompletedSuccessfullyAckToDequeue = 1_301,
CommandCompletedSuccessfullyEndingSession = 1_500,
UnknownCommand = 2_000,
CommandSyntaxError = 2_001,
CommandUseError = 2_002,
RequiredParameterMissing = 2_003,
ParameterValueRangeError = 2_004,
ParameterValueSyntaxError = 2_005,
UnimplementedProtocolVersion = 2_100,
UnimplementedCommand = 2_101,
UnimplementedOption = 2_102,
UnimplementedExtension = 2_103,
BillingFailure = 2_104,
ObjectIsNotEligibleForRenewal = 2_105,
ObjectIsNotEligibleForTransfer = 2_106,
AuthenticationError = 2_200,
AuthorizationError = 2_201,
InvalidAuthorizationInformation = 2_202,
ObjectPendingTransfer = 2_300,
ObjectNotPendingTransfer = 2_301,
ObjectExists = 2_302,
ObjectDoesNotExist = 2_303,
ObjectStatusProhibitsOperation = 2_304,
ObjectAssociationProhibitsOperation = 2_305,
ParameterValuePolicyError = 2_306,
UnimplementedObjectService = 2_307,
DataManagementPolicyViolation = 2_308,
CommandFailed = 2_400,
CommandFailedServerClosingConnection = 2_500,
AuthenticationErrorServerClosingConnection = 2_501,
SessionLimitExceededServerClosingConnection = 2_502,
}
Expand description
Response codes as enumerated in section 3 of RFC 5730
Variants§
CommandCompletedSuccessfully = 1_000
CommandCompletedSuccessfullyActionPending = 1_001
CommandCompletedSuccessfullyNoMessages = 1_300
CommandCompletedSuccessfullyAckToDequeue = 1_301
CommandCompletedSuccessfullyEndingSession = 1_500
UnknownCommand = 2_000
CommandSyntaxError = 2_001
CommandUseError = 2_002
RequiredParameterMissing = 2_003
ParameterValueRangeError = 2_004
ParameterValueSyntaxError = 2_005
UnimplementedProtocolVersion = 2_100
UnimplementedCommand = 2_101
UnimplementedOption = 2_102
UnimplementedExtension = 2_103
BillingFailure = 2_104
ObjectIsNotEligibleForRenewal = 2_105
ObjectIsNotEligibleForTransfer = 2_106
AuthenticationError = 2_200
AuthorizationError = 2_201
InvalidAuthorizationInformation = 2_202
ObjectPendingTransfer = 2_300
ObjectNotPendingTransfer = 2_301
ObjectExists = 2_302
ObjectDoesNotExist = 2_303
ObjectStatusProhibitsOperation = 2_304
ObjectAssociationProhibitsOperation = 2_305
ParameterValuePolicyError = 2_306
UnimplementedObjectService = 2_307
DataManagementPolicyViolation = 2_308
CommandFailed = 2_400
CommandFailedServerClosingConnection = 2_500
AuthenticationErrorServerClosingConnection = 2_501
SessionLimitExceededServerClosingConnection = 2_502
Implementations§
Source§impl ResultCode
impl ResultCode
Trait Implementations§
Source§impl Clone for ResultCode
impl Clone for ResultCode
Source§fn clone(&self) -> ResultCode
fn clone(&self) -> ResultCode
Returns a copy 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 ResultCode
impl Debug for ResultCode
Source§impl<'de> Deserialize<'de> for ResultCode
impl<'de> Deserialize<'de> for ResultCode
Source§fn deserialize<D>(deserializer: D) -> Result<ResultCode, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ResultCode, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ResultCode
impl PartialEq for ResultCode
impl Copy for ResultCode
impl Eq for ResultCode
impl StructuralPartialEq for ResultCode
Auto Trait Implementations§
impl Freeze for ResultCode
impl RefUnwindSafe for ResultCode
impl Send for ResultCode
impl Sync for ResultCode
impl Unpin for ResultCode
impl UnwindSafe for ResultCode
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