Enum rabbitmq_stream_client::error::ClientError
source · pub enum ClientError {
Io(Error),
Protocol(ProtocolError),
CastError(String),
GenericError(Box<dyn Error + Send + Sync>),
AlreadyClosed,
Tls(Error),
RequestError(ResponseCode),
}
Variants§
Io(Error)
Protocol(ProtocolError)
CastError(String)
GenericError(Box<dyn Error + Send + Sync>)
AlreadyClosed
Tls(Error)
RequestError(ResponseCode)
Trait Implementations§
source§impl Debug for ClientError
impl Debug for ClientError
source§impl Display for ClientError
impl Display for ClientError
source§impl Error for ClientError
impl Error for ClientError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ClientError> for ConsumerCloseError
impl From<ClientError> for ConsumerCloseError
source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
source§impl From<ClientError> for ConsumerCreateError
impl From<ClientError> for ConsumerCreateError
source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
source§impl From<ClientError> for ConsumerDeliveryError
impl From<ClientError> for ConsumerDeliveryError
source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
source§impl From<ClientError> for ConsumerStoreOffsetError
impl From<ClientError> for ConsumerStoreOffsetError
source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
source§impl From<ClientError> for ProducerCloseError
impl From<ClientError> for ProducerCloseError
source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
source§impl From<ClientError> for ProducerCreateError
impl From<ClientError> for ProducerCreateError
source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
source§impl From<ClientError> for ProducerPublishError
impl From<ClientError> for ProducerPublishError
source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
source§impl From<ClientError> for StreamCreateError
impl From<ClientError> for StreamCreateError
source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
source§impl From<ClientError> for StreamDeleteError
impl From<ClientError> for StreamDeleteError
source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
source§impl From<DecodeError> for ClientError
impl From<DecodeError> for ClientError
source§fn from(err: DecodeError) -> Self
fn from(err: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<EncodeError> for ClientError
impl From<EncodeError> for ClientError
source§fn from(err: EncodeError) -> Self
fn from(err: EncodeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for ClientError
impl From<Error> for ClientError
source§impl From<Error> for ClientError
impl From<Error> for ClientError
source§impl From<ProtocolError> for ClientError
impl From<ProtocolError> for ClientError
source§fn from(source: ProtocolError) -> Self
fn from(source: ProtocolError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl !UnwindSafe for ClientError
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