Fields
path: String
wildcards: bool
Implementations
sourceimpl TopicPath
impl TopicPath
pub fn path(&self) -> String
pub fn get(&self, index: usize) -> Option<&Topic>
pub fn get_mut(&mut self, index: usize) -> Option<&mut Topic>
pub fn len(&self) -> usize
pub fn is_final(&self, index: usize) -> bool
pub fn is_multi(&self, index: usize) -> bool
pub fn from_str<T: AsRef<str>>(path: T) -> Result<TopicPath>
Trait Implementations
sourceimpl IntoIterator for TopicPath
impl IntoIterator for TopicPath
sourceimpl ToTopicPath for TopicPath
impl ToTopicPath for TopicPath
fn to_topic_path(&self) -> Result<TopicPath>
fn to_topic_name(&self) -> Result<TopicPath>
Auto Trait Implementations
impl RefUnwindSafe for TopicPath
impl Send for TopicPath
impl Sync for TopicPath
impl Unpin for TopicPath
impl UnwindSafe for TopicPath
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more