#[non_exhaustive]pub enum ExternalControl {
TrustedProxies,
KeyCustody,
Backups,
Retention,
EncryptionAtRest,
}Expand description
A control outside this process that a profile relies on and cannot see,
declared with
RequestHandlerBuilder::declare_external_control.
A declaration is a statement for the record, not a check: it is carried
into ProfileReport::declared so that what the deployment said it does
is logged beside what the handler checked, and can be compared with the
deployment’s evidence. Profile::RegulatedData
refuses to build until each control it relies on has been declared.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
TrustedProxies
Which proxies may set forwarded headers (Forwarded, X-Forwarded-For)
that a rate limiter or credential throttle reads, or that none do.
KeyCustody
Where the key-encryption keys of sealed stores and audit privacy are held, who can use them, and how they are rotated.
Backups
That the databases are backed up, and a restore has been rehearsed.
Retention
The retention schedule, and the jobs that apply it (purge_expired,
AuditLog::purge, StepJournal::sweep).
EncryptionAtRest
That task content is encrypted at rest by the storage itself (the
database or the disk), in place of EncryptedTaskStore (feature
encryption).
Implementations§
Trait Implementations§
Source§impl Clone for ExternalControl
impl Clone for ExternalControl
Source§fn clone(&self) -> ExternalControl
fn clone(&self) -> ExternalControl
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ExternalControl
Source§impl Debug for ExternalControl
impl Debug for ExternalControl
impl Eq for ExternalControl
Source§impl Hash for ExternalControl
impl Hash for ExternalControl
Source§impl PartialEq for ExternalControl
impl PartialEq for ExternalControl
impl StructuralPartialEq for ExternalControl
Auto Trait Implementations§
impl Forget for ExternalControl
impl Freeze for ExternalControl
impl Move for ExternalControl
impl RefUnwindSafe for ExternalControl
impl Send for ExternalControl
impl Sync for ExternalControl
impl Unpin for ExternalControl
impl UnsafeUnpin for ExternalControl
impl UnwindSafe for ExternalControl
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§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> ⓘ
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> ⓘ
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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].