Enum instant_epp::response::ResultCode
source · 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<'xml> FromXml<'xml> for ResultCode
impl<'xml> FromXml<'xml> for ResultCode
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml> ) -> Result<(), Error>
type Accumulator = Option<ResultCode>
const KIND: Kind = Kind::Scalar
source§impl PartialEq for ResultCode
impl PartialEq for ResultCode
source§fn eq(&self, other: &ResultCode) -> bool
fn eq(&self, other: &ResultCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ResultCode
impl Eq for ResultCode
impl StructuralEq for ResultCode
impl StructuralPartialEq for ResultCode
Auto Trait Implementations§
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