Enum rocketmq_remoting::code::response_code::ResponseCode
source · pub enum ResponseCode {
Show 56 variants
FlushDiskTimeout = 10,
SlaveNotAvailable = 11,
FlushSlaveTimeout = 12,
MessageIllegal = 13,
ServiceNotAvailable = 14,
VersionNotSupported = 15,
NoPermission = 16,
TopicNotExist = 17,
TopicExistAlready = 18,
PullNotFound = 19,
PullRetryImmediately = 20,
PullOffsetMoved = 21,
QueryNotFound = 22,
SubscriptionParseFailed = 23,
SubscriptionNotExist = 24,
SubscriptionNotLatest = 25,
SubscriptionGroupNotExist = 26,
FilterDataNotExist = 27,
FilterDataNotLatest = 28,
TransactionShouldCommit = 200,
TransactionShouldRollback = 201,
TransactionStateUnknow = 202,
TransactionStateGroupWrong = 203,
NoBuyerId = 204,
NotInCurrentUnit = 205,
ConsumerNotOnline = 206,
ConsumeMsgTimeout = 207,
NoMessage = 208,
PollingFull = 209,
PollingTimeout = 210,
BrokerNotExist = 211,
BrokerDispatchNotComplete = 212,
BroadcastConsumption = 213,
FlowControl = 215,
NotLeaderForQueue = 501,
IllegalOperation = 604,
RpcUnknown = -1_000,
RpcAddrIsNull = -1_002,
RpcSendToChannelFailed = -1_004,
RpcTimeOut = -1_006,
GoAway = 1_500,
ControllerFencedMasterEpoch = 2_000,
ControllerFencedSyncStateSetEpoch = 2_001,
ControllerInvalidMaster = 2_002,
ControllerInvalidReplicas = 2_003,
ControllerMasterNotAvailable = 2_004,
ControllerInvalidRequest = 2_005,
ControllerBrokerNotAlive = 2_006,
ControllerNotLeader = 2_007,
ControllerBrokerMetadataNotExist = 2_008,
ControllerInvalidCleanBrokerMetadata = 2_009,
ControllerBrokerNeedToBeRegistered = 2_010,
ControllerMasterStillExist = 2_011,
ControllerElectMasterFailed = 2_012,
ControllerAlterSyncStateSetFailed = 2_013,
ControllerBrokerIdInvalid = 2_014,
}Variants§
FlushDiskTimeout = 10
SlaveNotAvailable = 11
FlushSlaveTimeout = 12
MessageIllegal = 13
ServiceNotAvailable = 14
VersionNotSupported = 15
NoPermission = 16
TopicNotExist = 17
TopicExistAlready = 18
PullNotFound = 19
PullRetryImmediately = 20
PullOffsetMoved = 21
QueryNotFound = 22
SubscriptionParseFailed = 23
SubscriptionNotExist = 24
SubscriptionNotLatest = 25
SubscriptionGroupNotExist = 26
FilterDataNotExist = 27
FilterDataNotLatest = 28
TransactionShouldCommit = 200
TransactionShouldRollback = 201
TransactionStateUnknow = 202
TransactionStateGroupWrong = 203
NoBuyerId = 204
NotInCurrentUnit = 205
ConsumerNotOnline = 206
ConsumeMsgTimeout = 207
NoMessage = 208
PollingFull = 209
PollingTimeout = 210
BrokerNotExist = 211
BrokerDispatchNotComplete = 212
BroadcastConsumption = 213
FlowControl = 215
NotLeaderForQueue = 501
IllegalOperation = 604
RpcUnknown = -1_000
RpcAddrIsNull = -1_002
RpcSendToChannelFailed = -1_004
RpcTimeOut = -1_006
GoAway = 1_500
ControllerFencedMasterEpoch = 2_000
ControllerFencedSyncStateSetEpoch = 2_001
ControllerInvalidMaster = 2_002
ControllerInvalidReplicas = 2_003
ControllerMasterNotAvailable = 2_004
ControllerInvalidRequest = 2_005
ControllerBrokerNotAlive = 2_006
ControllerNotLeader = 2_007
ControllerBrokerMetadataNotExist = 2_008
ControllerInvalidCleanBrokerMetadata = 2_009
ControllerBrokerNeedToBeRegistered = 2_010
ControllerMasterStillExist = 2_011
ControllerElectMasterFailed = 2_012
ControllerAlterSyncStateSetFailed = 2_013
ControllerBrokerIdInvalid = 2_014
Trait Implementations§
source§impl Clone for ResponseCode
impl Clone for ResponseCode
source§fn clone(&self) -> ResponseCode
fn clone(&self) -> ResponseCode
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 ResponseCode
impl Debug for ResponseCode
source§impl From<ResponseCode> for i32
impl From<ResponseCode> for i32
source§fn from(value: ResponseCode) -> Self
fn from(value: ResponseCode) -> Self
Converts to this type from the input type.
source§impl PartialEq for ResponseCode
impl PartialEq for ResponseCode
source§fn eq(&self, other: &ResponseCode) -> bool
fn eq(&self, other: &ResponseCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ResponseCode
impl StructuralPartialEq for ResponseCode
Auto Trait Implementations§
impl RefUnwindSafe for ResponseCode
impl Send for ResponseCode
impl Sync for ResponseCode
impl Unpin for ResponseCode
impl UnwindSafe for ResponseCode
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