pub struct AclMap { /* private fields */ }Implementations§
source§impl AclMap
impl AclMap
pub fn new() -> Self
pub fn separator(self, separator: char) -> Self
pub fn wildcard(self, wildcard: &str) -> Self
pub fn match_any(self, match_any: &str) -> Self
pub fn wildcard_multiple(self, wildcard_multiple: &[&str]) -> Self
pub fn match_any_multiple(self, match_any_multiple: &[&str]) -> Self
pub fn insert(&mut self, topic: &str)
pub fn matches(&self, topic: &str) -> bool
pub fn list(&self) -> Vec<&str>
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AclMap
impl Send for AclMap
impl Sync for AclMap
impl Unpin for AclMap
impl UnwindSafe for AclMap
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