pub struct AccessControlService { /* private fields */ }Implementations§
Source§impl AccessControlService
impl AccessControlService
pub fn new( literal_ids_service: Arc<LiteralConnectionIdAccessEntryService>, patterns_service: Arc<WildcardPatternConnectionIdAccessEntryService>, ) -> AccessControlService
pub fn is_allowed( &self, client_id: &str, connection_id: &str, ) -> Result<bool, StorageError>
Auto Trait Implementations§
impl !RefUnwindSafe for AccessControlService
impl !UnwindSafe for AccessControlService
impl Freeze for AccessControlService
impl Send for AccessControlService
impl Sync for AccessControlService
impl Unpin for AccessControlService
impl UnsafeUnpin for AccessControlService
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