pub enum AccessPredicate {
Builtin(BuiltinPredicate),
Custom(Arc<dyn AsyncAccessPredicate>),
}Expand description
AccessPredicate
Variants§
Builtin(BuiltinPredicate)
Custom(Arc<dyn AsyncAccessPredicate>)
Trait Implementations§
Source§impl Clone for AccessPredicate
impl Clone for AccessPredicate
Source§fn clone(&self) -> AccessPredicate
fn clone(&self) -> AccessPredicate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AccessPredicate
impl !RefUnwindSafe for AccessPredicate
impl Send for AccessPredicate
impl Sync for AccessPredicate
impl Unpin for AccessPredicate
impl !UnwindSafe for AccessPredicate
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