pub struct DumbAuthority();
Implementations§
Source§impl DumbAuthority
impl DumbAuthority
pub fn new() -> DumbAuthority
Trait Implementations§
Source§impl Authority for DumbAuthority
impl Authority for DumbAuthority
Source§type Privilege = ()
type Privilege = ()
A value denoting the privilege the system withholds. Generally, an enum
or a string namespaced by dot (
.
) is used.Decides whether the identity is capable of being granted with the
inquired privilege.
An implementation SHOULD use the mapped identity and check if the inquired privilege is available for it. A remote process can be involved.
An implementation SHOULD use the mapped identity and check if the inquired privilege is available for it. A remote process can be involved.
Auto Trait Implementations§
impl Freeze for DumbAuthority
impl RefUnwindSafe for DumbAuthority
impl Send for DumbAuthority
impl Sync for DumbAuthority
impl Unpin for DumbAuthority
impl UnwindSafe for DumbAuthority
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