pub enum SaslConnectError {
Protocol(ProtocolIdError),
AmqpError(AmqpCodecError),
Sasl(SaslCode),
ExpectedOpenFrame,
Disconnected,
}Variants§
Trait Implementations§
Source§impl Debug for SaslConnectError
impl Debug for SaslConnectError
Source§impl Display for SaslConnectError
impl Display for SaslConnectError
Source§impl From<AmqpCodecError> for SaslConnectError
impl From<AmqpCodecError> for SaslConnectError
Source§fn from(original: AmqpCodecError) -> SaslConnectError
fn from(original: AmqpCodecError) -> SaslConnectError
Converts to this type from the input type.
Source§impl From<ProtocolIdError> for SaslConnectError
impl From<ProtocolIdError> for SaslConnectError
Source§fn from(original: ProtocolIdError) -> SaslConnectError
fn from(original: ProtocolIdError) -> SaslConnectError
Converts to this type from the input type.
Source§impl From<SaslCode> for SaslConnectError
impl From<SaslCode> for SaslConnectError
Source§fn from(original: SaslCode) -> SaslConnectError
fn from(original: SaslCode) -> SaslConnectError
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for SaslConnectError
impl !RefUnwindSafe for SaslConnectError
impl Send for SaslConnectError
impl Sync for SaslConnectError
impl Unpin for SaslConnectError
impl !UnwindSafe for SaslConnectError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more