pub struct DeclaredLookups(RwLock<Arc<Lookups>>);Expand description
The lookups this deployment’s policies declare, swapped each time the policy set is rebuilt.
It starts holding the built-ins’ lookups rather than none. A deployment that has not polled its operator yet still enforces the floor, and a floor rule whose records were never read would stand aside on every write — which is a rule that is off, spelled as a rule that is on.
Tuple Fields§
§0: RwLock<Arc<Lookups>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DeclaredLookups
impl RefUnwindSafe for DeclaredLookups
impl Send for DeclaredLookups
impl Sync for DeclaredLookups
impl Unpin for DeclaredLookups
impl UnsafeUnpin for DeclaredLookups
impl UnwindSafe for DeclaredLookups
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more