pub enum RocketmqError {
Show 34 variants
RemoteError(String),
DeserializeHeaderError(String),
RemotingConnectError(String),
RemotingSendRequestError(String),
RemotingTimeoutError(String, u64),
RemotingTooMuchRequestError(String),
RpcError(i32, String),
FromStrErr(String),
Io(Error),
DecodingError(usize, usize),
Utf8Error(Utf8Error),
RemotingCommandDecoderError(String),
RemotingCommandEncoderError(String),
NotSupportSerializeType(u8),
ConnectionInvalid(String),
AbortProcessError(i32, String),
ChannelSendRequestFailed(String),
ChannelRecvRequestFailed(String),
IllegalArgument(String),
MQClientErr(ClientErr),
MQClientBrokerError(MQBrokerErr),
RequestTimeoutError(RequestTimeoutErr),
OffsetNotFoundError(i32, String, String),
IllegalArgumentError(String),
JsonError(String),
UnsupportedOperationException(String),
IpError(String),
ChannelError(String),
MQBrokerError(i32, String, String),
NoneError(String),
TokioHandlerError(String),
ConfigError(String),
SubCommand(String, String),
ServiceTaskError(ServiceError),
}
Variants§
RemoteError(String)
DeserializeHeaderError(String)
RemotingConnectError(String)
RemotingSendRequestError(String)
RemotingTimeoutError(String, u64)
RemotingTooMuchRequestError(String)
RpcError(i32, String)
FromStrErr(String)
Io(Error)
DecodingError(usize, usize)
Utf8Error(Utf8Error)
RemotingCommandDecoderError(String)
RemotingCommandEncoderError(String)
NotSupportSerializeType(u8)
ConnectionInvalid(String)
AbortProcessError(i32, String)
ChannelSendRequestFailed(String)
ChannelRecvRequestFailed(String)
IllegalArgument(String)
MQClientErr(ClientErr)
MQClientBrokerError(MQBrokerErr)
RequestTimeoutError(RequestTimeoutErr)
OffsetNotFoundError(i32, String, String)
IllegalArgumentError(String)
JsonError(String)
UnsupportedOperationException(String)
IpError(String)
ChannelError(String)
MQBrokerError(i32, String, String)
NoneError(String)
TokioHandlerError(String)
ConfigError(String)
SubCommand(String, String)
ServiceTaskError(ServiceError)
Trait Implementations§
Source§impl Debug for RocketmqError
impl Debug for RocketmqError
Source§impl Display for RocketmqError
impl Display for RocketmqError
Source§impl Error for RocketmqError
impl Error for RocketmqError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ClientErr> for RocketmqError
impl From<ClientErr> for RocketmqError
Source§impl From<Error> for RocketmqError
impl From<Error> for RocketmqError
Source§impl From<MQBrokerErr> for RocketmqError
impl From<MQBrokerErr> for RocketmqError
Source§fn from(source: MQBrokerErr) -> Self
fn from(source: MQBrokerErr) -> Self
Converts to this type from the input type.
Source§impl From<RequestTimeoutErr> for RocketmqError
impl From<RequestTimeoutErr> for RocketmqError
Source§fn from(source: RequestTimeoutErr) -> Self
fn from(source: RequestTimeoutErr) -> Self
Converts to this type from the input type.
Source§impl From<ServiceError> for RocketmqError
impl From<ServiceError> for RocketmqError
Source§fn from(source: ServiceError) -> Self
fn from(source: ServiceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RocketmqError
impl !RefUnwindSafe for RocketmqError
impl Send for RocketmqError
impl Sync for RocketmqError
impl Unpin for RocketmqError
impl !UnwindSafe for RocketmqError
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