pub struct TimeWindowPolicy { /* private fields */ }Expand description
Implementations§
Trait Implementations§
Source§impl Policy for TimeWindowPolicy
impl Policy for TimeWindowPolicy
fn name(&self) -> &'static str
fn evaluate<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 AuthzContext<'life2>,
) -> Pin<Box<dyn Future<Output = PolicyDecision> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for TimeWindowPolicy
impl RefUnwindSafe for TimeWindowPolicy
impl Send for TimeWindowPolicy
impl Sync for TimeWindowPolicy
impl Unpin for TimeWindowPolicy
impl UnsafeUnpin for TimeWindowPolicy
impl UnwindSafe for TimeWindowPolicy
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