pub enum CacheTag {
Subject(String),
Role(String),
ResourceType(String),
Action(String),
ContextDependent,
}Expand description
Cache tag for organizing cache entries.
Variants§
Subject(String)
Cache entries for a specific subject.
Role(String)
Cache entries involving a specific role.
ResourceType(String)
Cache entries for a specific resource type.
Action(String)
Cache entries for a specific action.
ContextDependent
Cache entries with context dependencies.
Trait Implementations§
impl Eq for CacheTag
impl StructuralPartialEq for CacheTag
Auto Trait Implementations§
impl Freeze for CacheTag
impl RefUnwindSafe for CacheTag
impl Send for CacheTag
impl Sync for CacheTag
impl Unpin for CacheTag
impl UnwindSafe for CacheTag
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