pub enum ReadCommandError {
ReadError(Error),
FrameParseError(FrameParseError),
}
Variants§
ReadError(Error)
FrameParseError(FrameParseError)
Trait Implementations§
Source§impl Debug for ReadCommandError
impl Debug for ReadCommandError
Source§impl Display for ReadCommandError
impl Display for ReadCommandError
Source§impl Error for ReadCommandError
impl Error for ReadCommandError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<Error> for ReadCommandError
impl From<Error> for ReadCommandError
Source§impl From<FrameParseError> for ReadCommandError
impl From<FrameParseError> for ReadCommandError
Source§fn from(source: FrameParseError) -> Self
fn from(source: FrameParseError) -> Self
Converts to this type from the input type.
Source§impl From<ReadCommandError> for ConnectRespondError
impl From<ReadCommandError> for ConnectRespondError
Source§fn from(err: ReadCommandError) -> Self
fn from(err: ReadCommandError) -> Self
Converts to this type from the input type.
Source§impl From<ReadCommandError> for ConsumerAckRespondError
impl From<ReadCommandError> for ConsumerAckRespondError
Source§fn from(err: ReadCommandError) -> Self
fn from(err: ReadCommandError) -> Self
Converts to this type from the input type.
Source§impl From<ReadCommandError> for ProducerSendRespondError
impl From<ReadCommandError> for ProducerSendRespondError
Source§fn from(err: ReadCommandError) -> Self
fn from(err: ReadCommandError) -> Self
Converts to this type from the input type.
Source§impl From<ReadCommandError> for SessionCreateConsumerRespondError
impl From<ReadCommandError> for SessionCreateConsumerRespondError
Source§fn from(err: ReadCommandError) -> Self
fn from(err: ReadCommandError) -> Self
Converts to this type from the input type.
Source§impl From<ReadCommandError> for SessionCreateProducerRespondError
impl From<ReadCommandError> for SessionCreateProducerRespondError
Source§fn from(err: ReadCommandError) -> Self
fn from(err: ReadCommandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReadCommandError
impl !RefUnwindSafe for ReadCommandError
impl Send for ReadCommandError
impl Sync for ReadCommandError
impl Unpin for ReadCommandError
impl !UnwindSafe for ReadCommandError
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