pub enum GateEffectKind {
AuthCredentialRegister,
AuthCredentialRotate,
AuthTokenIssue,
AuthTokenRevoke,
ConfigSet,
ConfigDelete,
ConfigSecretSet,
A2aRouting,
CronAdd,
CronRemove,
}Expand description
Privileged gate families that must publish an explicit EffectVector
(WEFT-506). Cron already had inline vectors; auth / config / a2a share
this enum so tests can pin dimensions per gate type.
Variants§
AuthCredentialRegister
Credential registration (auth).
AuthCredentialRotate
Credential rotation (auth).
AuthTokenIssue
Token issuance (auth).
AuthTokenRevoke
Token revocation (auth).
ConfigSet
Config namespace write.
ConfigDelete
Config namespace delete (including typed).
ConfigSecretSet
Secret store write.
A2aRouting
A2A routing-time IPC gate.
CronAdd
Cron job add.
CronRemove
Cron job remove.
Implementations§
Source§impl GateEffectKind
impl GateEffectKind
Sourcepub fn effect_vector(self) -> EffectVector
pub fn effect_vector(self) -> EffectVector
Fixed 5-D weights for this gate family.
Sourcepub fn action_prefix(self) -> &'static str
pub fn action_prefix(self) -> &'static str
Action string prefix associated with this gate family.
Trait Implementations§
Source§impl Clone for GateEffectKind
impl Clone for GateEffectKind
impl Copy for GateEffectKind
Source§impl Debug for GateEffectKind
impl Debug for GateEffectKind
impl Eq for GateEffectKind
Source§impl PartialEq for GateEffectKind
impl PartialEq for GateEffectKind
impl StructuralPartialEq for GateEffectKind
Auto Trait Implementations§
impl Freeze for GateEffectKind
impl RefUnwindSafe for GateEffectKind
impl Send for GateEffectKind
impl Sync for GateEffectKind
impl Unpin for GateEffectKind
impl UnsafeUnpin for GateEffectKind
impl UnwindSafe for GateEffectKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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§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
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
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