pub enum ConsumerAckRespondError {
FrameRenderError(FrameRenderError),
WriteError(IoError),
ReadError(IoError),
FrameParseError(FrameParseError),
SEUnimplemented {
server_error: ServerError,
msg: String,
},
}
Variants§
FrameRenderError(FrameRenderError)
WriteError(IoError)
ReadError(IoError)
FrameParseError(FrameParseError)
SEUnimplemented
Trait Implementations§
Source§impl Debug for ConsumerAckRespondError
impl Debug for ConsumerAckRespondError
Source§impl Display for ConsumerAckRespondError
impl Display for ConsumerAckRespondError
Source§impl Error for ConsumerAckRespondError
impl Error for ConsumerAckRespondError
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<(ServerError, &str)> for ConsumerAckRespondError
impl From<(ServerError, &str)> for ConsumerAckRespondError
Source§fn from(t: (ServerError, &str)) -> Self
fn from(t: (ServerError, &str)) -> Self
Converts to this type from the input type.
Source§impl From<FrameParseError> for ConsumerAckRespondError
impl From<FrameParseError> for ConsumerAckRespondError
Source§fn from(source: FrameParseError) -> Self
fn from(source: FrameParseError) -> Self
Converts to this type from the input type.
Source§impl From<FrameRenderError> for ConsumerAckRespondError
impl From<FrameRenderError> for ConsumerAckRespondError
Source§fn from(source: FrameRenderError) -> Self
fn from(source: FrameRenderError) -> 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<WriteCommandError> for ConsumerAckRespondError
impl From<WriteCommandError> for ConsumerAckRespondError
Source§fn from(err: WriteCommandError) -> Self
fn from(err: WriteCommandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConsumerAckRespondError
impl !RefUnwindSafe for ConsumerAckRespondError
impl Send for ConsumerAckRespondError
impl Sync for ConsumerAckRespondError
impl Unpin for ConsumerAckRespondError
impl !UnwindSafe for ConsumerAckRespondError
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