pub enum TopicPart {
Internal(String),
Normal(String),
Empty,
MultiWildcard,
SingleWildcard,
}Variants§
Internal(String)
Special internal part, like $SYS.
Topics start will $ char will be traited as internal topic, even so
only $SYS is used currently.
Normal(String)
Normal part.
Empty
Empty part.
MultiWildcard
# char, to match any remaining parts.
SingleWildcard
+ char, to match right part.
Trait Implementations§
Source§impl Ord for TopicPart
impl Ord for TopicPart
Source§impl PartialOrd for TopicPart
impl PartialOrd for TopicPart
impl Eq for TopicPart
impl StructuralPartialEq for TopicPart
Auto Trait Implementations§
impl Freeze for TopicPart
impl RefUnwindSafe for TopicPart
impl Send for TopicPart
impl Sync for TopicPart
impl Unpin for TopicPart
impl UnwindSafe for TopicPart
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