pub struct PerFlowActivation {
pub cell_id: String,
pub run_id: String,
pub nflog_group: u16,
pub backend: PerFlowBackend,
pub policy_digest: Option<String>,
pub keyset_id: Option<String>,
pub issuer_kid: Option<String>,
}Expand description
Activation context for the per-flow listener.
Constructed once per Supervisor::run when the env gate is on; consumed
by spawn_per_flow_listener_in_netns when the workload child PID is
known. Mirrors the shape of crate::dns_proxy::spawn::EventSinkEmitter
- activation pair.
Fields§
§cell_id: StringPortable cell identifier (stamped into emitted events).
run_id: StringRun UUID/identifier (stamped into emitted events).
nflog_group: u16nfnetlink_log group bound by the listener (matches the log group N
action in the augmented ruleset).
backend: PerFlowBackendBackend in effect (resolves at activation time so the warning fires once per run rather than per packet).
policy_digest: Option<String>Optional sha256 digest of the policy bundle, stamped into events.
keyset_id: Option<String>Optional trust-keyset id stamped into events.
issuer_kid: Option<String>Optional issuer kid stamped into events.
Auto Trait Implementations§
impl Freeze for PerFlowActivation
impl RefUnwindSafe for PerFlowActivation
impl Send for PerFlowActivation
impl Sync for PerFlowActivation
impl Unpin for PerFlowActivation
impl UnsafeUnpin for PerFlowActivation
impl UnwindSafe for PerFlowActivation
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> 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