Enum sn0int_std::mqtt::MqttRecvError
source · pub enum MqttRecvError {
Recv(VariablePacketError),
RecvDisconnect,
Error(Error),
}
Variants§
Trait Implementations§
source§impl Debug for MqttRecvError
impl Debug for MqttRecvError
source§impl Display for MqttRecvError
impl Display for MqttRecvError
source§impl Error for MqttRecvError
impl Error for MqttRecvError
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<Error> for MqttRecvError
impl From<Error> for MqttRecvError
source§impl From<VariablePacketError> for MqttRecvError
impl From<VariablePacketError> for MqttRecvError
source§fn from(source: VariablePacketError) -> Self
fn from(source: VariablePacketError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for MqttRecvError
impl Send for MqttRecvError
impl Sync for MqttRecvError
impl Unpin for MqttRecvError
impl !UnwindSafe for MqttRecvError
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
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
source§impl<E> Fail for Ewhere
E: Error + Send + Sync + 'static,
impl<E> Fail for Ewhere E: Error + Send + Sync + 'static,
source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more