pub enum ErrorCondition {
AmqpError(AmqpError),
ConnectionError(ConnectionError),
SessionError(SessionError),
LinkError(LinkError),
Custom(Symbol),
}
Variants§
AmqpError(AmqpError)
ConnectionError(ConnectionError)
SessionError(SessionError)
LinkError(LinkError)
Custom(Symbol)
Trait Implementations§
Source§impl Clone for ErrorCondition
impl Clone for ErrorCondition
Source§fn clone(&self) -> ErrorCondition
fn clone(&self) -> ErrorCondition
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 ErrorCondition
impl Debug for ErrorCondition
Source§impl Encode for ErrorCondition
impl Encode for ErrorCondition
Source§impl From<AmqpError> for ErrorCondition
impl From<AmqpError> for ErrorCondition
Source§fn from(original: AmqpError) -> ErrorCondition
fn from(original: AmqpError) -> ErrorCondition
Converts to this type from the input type.
Source§impl From<ConnectionError> for ErrorCondition
impl From<ConnectionError> for ErrorCondition
Source§fn from(original: ConnectionError) -> ErrorCondition
fn from(original: ConnectionError) -> ErrorCondition
Converts to this type from the input type.
Source§impl From<LinkError> for ErrorCondition
impl From<LinkError> for ErrorCondition
Source§fn from(original: LinkError) -> ErrorCondition
fn from(original: LinkError) -> ErrorCondition
Converts to this type from the input type.
Source§impl From<SessionError> for ErrorCondition
impl From<SessionError> for ErrorCondition
Source§fn from(original: SessionError) -> ErrorCondition
fn from(original: SessionError) -> ErrorCondition
Converts to this type from the input type.
Source§impl From<Symbol> for ErrorCondition
impl From<Symbol> for ErrorCondition
Source§fn from(original: Symbol) -> ErrorCondition
fn from(original: Symbol) -> ErrorCondition
Converts to this type from the input type.
Source§impl PartialEq for ErrorCondition
impl PartialEq for ErrorCondition
impl StructuralPartialEq for ErrorCondition
Auto Trait Implementations§
impl !Freeze for ErrorCondition
impl RefUnwindSafe for ErrorCondition
impl Send for ErrorCondition
impl Sync for ErrorCondition
impl Unpin for ErrorCondition
impl UnwindSafe for ErrorCondition
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