pub enum EnforcementBinding {
LinuxNftables,
DeclaredAudit,
}Expand description
Whether an allow decision corresponds to a kernel-bound egress allowlist or a declared/audited one (ADR-0025 §Linux-vs-Windows boundary).
Recorded on the receipt so a verifier on either OS can tell what kind of enforcement backs the admission. The signature is platform-independent; this field makes the receipt’s truthfulness about enforcement platform-aware.
Serializes to linux-nftables / declared-audit.
Variants§
LinuxNftables
Egress allowlist is bound in-kernel via nftables (Linux).
DeclaredAudit
Egress allowlist is declared and audited, not kernel-bound (Windows / portable backends).
Trait Implementations§
Source§impl Clone for EnforcementBinding
impl Clone for EnforcementBinding
Source§fn clone(&self) -> EnforcementBinding
fn clone(&self) -> EnforcementBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EnforcementBinding
Source§impl Debug for EnforcementBinding
impl Debug for EnforcementBinding
impl Eq for EnforcementBinding
Source§impl PartialEq for EnforcementBinding
impl PartialEq for EnforcementBinding
Source§fn eq(&self, other: &EnforcementBinding) -> bool
fn eq(&self, other: &EnforcementBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnforcementBinding
impl Serialize for EnforcementBinding
impl StructuralPartialEq for EnforcementBinding
Auto Trait Implementations§
impl Freeze for EnforcementBinding
impl RefUnwindSafe for EnforcementBinding
impl Send for EnforcementBinding
impl Sync for EnforcementBinding
impl Unpin for EnforcementBinding
impl UnsafeUnpin for EnforcementBinding
impl UnwindSafe for EnforcementBinding
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