pub enum ConnectionError {
ConnectionForced,
FramingError,
Redirect,
}
Variants§
Implementations§
Source§impl ConnectionError
impl ConnectionError
pub fn try_from(v: &Symbol) -> Result<Self, AmqpParseError>
Trait Implementations§
Source§impl Clone for ConnectionError
impl Clone for ConnectionError
Source§fn clone(&self) -> ConnectionError
fn clone(&self) -> ConnectionError
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 ConnectionError
impl Debug for ConnectionError
Source§impl DecodeFormatted for ConnectionError
impl DecodeFormatted for ConnectionError
fn decode_with_format( input: &mut Bytes, fmt: u8, ) -> Result<Self, AmqpParseError>
Source§impl Encode for ConnectionError
impl Encode for ConnectionError
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 PartialEq for ConnectionError
impl PartialEq for ConnectionError
impl Copy for ConnectionError
impl Eq for ConnectionError
impl StructuralPartialEq for ConnectionError
Auto Trait Implementations§
impl Freeze for ConnectionError
impl RefUnwindSafe for ConnectionError
impl Send for ConnectionError
impl Sync for ConnectionError
impl Unpin for ConnectionError
impl UnwindSafe for ConnectionError
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