Struct soketto::base::UnknownOpCode
source · pub struct UnknownOpCode(_);
Expand description
Error returned by OpCode::try_from
if an unknown opcode
number is encountered.
Trait Implementations§
source§impl Clone for UnknownOpCode
impl Clone for UnknownOpCode
source§fn clone(&self) -> UnknownOpCode
fn clone(&self) -> UnknownOpCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnknownOpCode
impl Debug for UnknownOpCode
source§impl Display for UnknownOpCode
impl Display for UnknownOpCode
source§impl Error for UnknownOpCode
impl Error for UnknownOpCode
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<UnknownOpCode> for Error
impl From<UnknownOpCode> for Error
source§fn from(_: UnknownOpCode) -> Self
fn from(_: UnknownOpCode) -> Self
Converts to this type from the input type.