Enum mqtt::packet::unsubscribe::UnsubscribePacketError
source · [−]pub enum UnsubscribePacketError {
IoError(Error),
FromUtf8Error(FromUtf8Error),
TopicFilterError(TopicFilterError),
}
Variants
IoError(Error)
FromUtf8Error(FromUtf8Error)
TopicFilterError(TopicFilterError)
Trait Implementations
sourceimpl Debug for UnsubscribePacketError
impl Debug for UnsubscribePacketError
sourceimpl Display for UnsubscribePacketError
impl Display for UnsubscribePacketError
sourceimpl Error for UnsubscribePacketError
impl Error for UnsubscribePacketError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for UnsubscribePacketError
impl From<Error> for UnsubscribePacketError
sourceimpl From<FromUtf8Error> for UnsubscribePacketError
impl From<FromUtf8Error> for UnsubscribePacketError
sourcefn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Performs the conversion.
sourceimpl From<TopicFilterDecodeError> for UnsubscribePacketError
impl From<TopicFilterDecodeError> for UnsubscribePacketError
sourcefn from(e: TopicFilterDecodeError) -> Self
fn from(e: TopicFilterDecodeError) -> Self
Performs the conversion.
sourceimpl From<TopicFilterError> for UnsubscribePacketError
impl From<TopicFilterError> for UnsubscribePacketError
sourcefn from(source: TopicFilterError) -> Self
fn from(source: TopicFilterError) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for UnsubscribePacketError
impl Send for UnsubscribePacketError
impl Sync for UnsubscribePacketError
impl Unpin for UnsubscribePacketError
impl UnwindSafe for UnsubscribePacketError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more