pub struct DbAuthorizer { /* private fields */ }Expand description
The registered authorization backend. Cheap to clone — the cache is shared
(Arc), so the instance handed to set_authorizer and the one kept for
reload see the same data.
Implementations§
Source§impl DbAuthorizer
impl DbAuthorizer
Trait Implementations§
Source§impl Authorizer for DbAuthorizer
impl Authorizer for DbAuthorizer
Source§impl Clone for DbAuthorizer
impl Clone for DbAuthorizer
Source§fn clone(&self) -> DbAuthorizer
fn clone(&self) -> DbAuthorizer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for DbAuthorizer
impl Default for DbAuthorizer
Source§fn default() -> DbAuthorizer
fn default() -> DbAuthorizer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DbAuthorizer
impl RefUnwindSafe for DbAuthorizer
impl Send for DbAuthorizer
impl Sync for DbAuthorizer
impl Unpin for DbAuthorizer
impl UnsafeUnpin for DbAuthorizer
impl UnwindSafe for DbAuthorizer
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