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 formula_prefix(self, formula_prefix: &str) -> Self
pub fn regex_prefix(self, regex_prefix: &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 remove(&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 Freeze for AclMap
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