pub struct GatePolicy {
pub default_strength_floor: AxisEnforcement,
pub max_freshness_window: u64,
pub step_up: HumanGate,
}Expand description
Gate defaults (gate.rs constants) — and the human-gesture axis of the
ADR 0018 mode lattice.
Fields§
§default_strength_floor: AxisEnforcementThe fence-strength floor stamped when none is set (DEFAULT_STRENGTH_FLOOR).
max_freshness_window: u64Cap on the discharge freshness-window scan (MAX_FRESHNESS_WINDOW).
step_up: HumanGateThe step-up floor — the human-gate posture the host enforces for a
HIGH-consequence act (ADR 0018 D9/D11, R6). This is the human-gesture axis
of the mode lattice, the config sibling of the capability axis
BridleConfig::mode. Defaults to HumanGate::Passkey (the human leash
is on unless deliberately lowered). none is the legal “no ceremony”
case (e.g. CI) — distinct from the illegal acked-off combination the
loader refuses (the D10 no-step-up ack while bridled; that ack rides a
separate env-only channel, never a config file — ADR 0018 D3). The
Autonomous posture (none while unbridled) is reached at runtime via that
second ack, never by a config file lowering this floor.
Trait Implementations§
Source§impl Clone for GatePolicy
impl Clone for GatePolicy
Source§fn clone(&self) -> GatePolicy
fn clone(&self) -> GatePolicy
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GatePolicy
impl Debug for GatePolicy
Source§impl Default for GatePolicy
impl Default for GatePolicy
Source§fn default() -> GatePolicy
fn default() -> GatePolicy
Source§impl<'de> Deserialize<'de> for GatePolicy
impl<'de> Deserialize<'de> for GatePolicy
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GatePolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GatePolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for GatePolicy
Source§impl PartialEq for GatePolicy
impl PartialEq for GatePolicy
Source§impl Serialize for GatePolicy
impl Serialize for GatePolicy
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for GatePolicy
Auto Trait Implementations§
impl Freeze for GatePolicy
impl RefUnwindSafe for GatePolicy
impl Send for GatePolicy
impl Sync for GatePolicy
impl Unpin for GatePolicy
impl UnsafeUnpin for GatePolicy
impl UnwindSafe for GatePolicy
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
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,
Source§impl<F, T> ConvertInto<T> for Fwhere
T: ConvertFrom<F>,
impl<F, T> ConvertInto<T> for Fwhere
T: ConvertFrom<F>,
Source§fn convert_into(self) -> T
fn convert_into(self) -> T
Self to a value of type T.Source§impl<F, T> ConvertTryFrom<F> for Twhere
F: ConvertInto<T>,
impl<F, T> ConvertTryFrom<F> for Twhere
F: ConvertInto<T>,
Source§impl<F, T> ConvertTryInto<T> for Fwhere
T: ConvertTryFrom<F>,
impl<F, T> ConvertTryInto<T> for Fwhere
T: ConvertTryFrom<F>,
Source§type Error = <T as ConvertTryFrom<F>>::Error
type Error = <T as ConvertTryFrom<F>>::Error
Source§fn convert_try_into(self) -> Result<T, <T as ConvertTryFrom<F>>::Error>
fn convert_try_into(self) -> Result<T, <T as ConvertTryFrom<F>>::Error>
Self to a value of type T.impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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