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