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 duplicate 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 DecodeFormatted for ErrorCondition
impl DecodeFormatted for ErrorCondition
fn decode_with_format( input: &mut Bytes, format: u8, ) -> Result<Self, AmqpParseError>
Source§impl Default for ErrorCondition
impl Default for ErrorCondition
Source§fn default() -> ErrorCondition
fn default() -> ErrorCondition
Returns the “default value” for a type. Read more
Source§impl Encode for ErrorCondition
impl Encode for ErrorCondition
Source§impl From<AmqpError> for ErrorCondition
impl From<AmqpError> for ErrorCondition
Source§impl From<ConnectionError> for ErrorCondition
impl From<ConnectionError> for ErrorCondition
Source§fn from(value: ConnectionError) -> Self
fn from(value: ConnectionError) -> Self
Converts to this type from the input type.
Source§impl From<LinkError> for ErrorCondition
impl From<LinkError> for ErrorCondition
Source§impl From<SessionError> for ErrorCondition
impl From<SessionError> for ErrorCondition
Source§fn from(value: SessionError) -> Self
fn from(value: SessionError) -> Self
Converts to this type from the input type.
Source§impl From<Symbol> for ErrorCondition
impl From<Symbol> for ErrorCondition
Source§impl PartialEq for ErrorCondition
impl PartialEq for ErrorCondition
impl Eq 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