pub enum SessionCreateConsumerRespondError {
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 Error for SessionCreateConsumerRespondError
impl Error for SessionCreateConsumerRespondError
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 SessionCreateConsumerRespondError
impl From<(ServerError, &str)> for SessionCreateConsumerRespondError
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 SessionCreateConsumerRespondError
impl From<FrameParseError> for SessionCreateConsumerRespondError
Source§fn from(source: FrameParseError) -> Self
fn from(source: FrameParseError) -> Self
Converts to this type from the input type.
Source§impl From<FrameRenderError> for SessionCreateConsumerRespondError
impl From<FrameRenderError> for SessionCreateConsumerRespondError
Source§fn from(source: FrameRenderError) -> Self
fn from(source: FrameRenderError) -> 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<WriteCommandError> for SessionCreateConsumerRespondError
impl From<WriteCommandError> for SessionCreateConsumerRespondError
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 SessionCreateConsumerRespondError
impl !RefUnwindSafe for SessionCreateConsumerRespondError
impl Send for SessionCreateConsumerRespondError
impl Sync for SessionCreateConsumerRespondError
impl Unpin for SessionCreateConsumerRespondError
impl !UnwindSafe for SessionCreateConsumerRespondError
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