pub enum TopicNameDecodeError {
IoError(Error),
InvalidTopicName(TopicNameError),
}
Expand description
Errors while parsing topic names
Variants§
IoError(Error)
InvalidTopicName(TopicNameError)
Trait Implementations§
source§impl Debug for TopicNameDecodeError
impl Debug for TopicNameDecodeError
source§impl Display for TopicNameDecodeError
impl Display for TopicNameDecodeError
source§impl Error for TopicNameDecodeError
impl Error for TopicNameDecodeError
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<Error> for TopicNameDecodeError
impl From<Error> for TopicNameDecodeError
source§impl From<TopicNameError> for TopicNameDecodeError
impl From<TopicNameError> for TopicNameDecodeError
source§fn from(source: TopicNameError) -> Self
fn from(source: TopicNameError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TopicNameDecodeError
impl !RefUnwindSafe for TopicNameDecodeError
impl Send for TopicNameDecodeError
impl Sync for TopicNameDecodeError
impl Unpin for TopicNameDecodeError
impl !UnwindSafe for TopicNameDecodeError
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