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