pub struct ClientMap { /* private fields */ }
Implementations§
source§impl ClientMap
impl ClientMap
pub fn new<A>( me: &A, cache: Option<Box<dyn AuthzCache>>, m: ConfigMap, f: Option<BanCallback> ) -> Result<Self, ConfigurationError>where A: Authenticable,
pub async fn ban<A>( &self, audience: String, subject: A, object: Box<dyn IntentObject>, value: bool, seconds: usize ) -> Result<(), Error>where A: Authenticable,
pub fn http_proxy(&self, audience: &str) -> Option<HttpProxy>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ClientMap
impl Send for ClientMap
impl Sync for ClientMap
impl Unpin for ClientMap
impl !UnwindSafe for ClientMap
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