Enum mqtt::topic_name::TopicNameDecodeError
source · [−]pub enum TopicNameDecodeError {
IoError(Error),
InvalidTopicName(TopicNameError),
}
Expand description
Errors while parsing topic names
Variants
IoError(Error)
InvalidTopicName(TopicNameError)
Trait Implementations
sourceimpl Debug for TopicNameDecodeError
impl Debug for TopicNameDecodeError
sourceimpl Display for TopicNameDecodeError
impl Display for TopicNameDecodeError
sourceimpl Error for TopicNameDecodeError
impl Error for TopicNameDecodeError
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 TopicNameDecodeError
impl From<Error> for TopicNameDecodeError
sourceimpl From<TopicNameDecodeError> for VariableHeaderError
impl From<TopicNameDecodeError> for VariableHeaderError
sourcefn from(err: TopicNameDecodeError) -> VariableHeaderError
fn from(err: TopicNameDecodeError) -> VariableHeaderError
Performs the conversion.
sourceimpl<P: DecodablePacket> From<TopicNameDecodeError> for PacketError<P>
impl<P: DecodablePacket> From<TopicNameDecodeError> for PacketError<P>
sourcefn from(e: TopicNameDecodeError) -> Self
fn from(e: TopicNameDecodeError) -> Self
Performs the conversion.
sourceimpl From<TopicNameError> for TopicNameDecodeError
impl From<TopicNameError> for TopicNameDecodeError
sourcefn from(source: TopicNameError) -> Self
fn from(source: TopicNameError) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TopicNameDecodeError
impl Send for TopicNameDecodeError
impl Sync for TopicNameDecodeError
impl Unpin for TopicNameDecodeError
impl UnwindSafe for TopicNameDecodeError
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