pub struct InterfaceBindingRule {
pub name: String,
pub protection_override: Option<ProtectionKind>,
pub peer_class_filter: Vec<String>,
pub protection_min: Option<ProtectionKind>,
}Expand description
Interface-spezifische Regel aus <zerodds:interface_bindings>
.
Bindet logische Interface-Namen an Protection-Overrides und zugelassene Peer-Klassen. Ergaenzt die socket-basierte Binding- Struktur aus Stufe 6, ohne sie zu ersetzen — der Governance- Eintrag ist die Policy-Sicht, das Socket-Binding ist die Transport- Sicht.
Fields§
§name: StringName des Interfaces (muss mit InterfaceBindingSpec::name im
dcps-Runtime-Config uebereinstimmen).
protection_override: Option<ProtectionKind>Ueberschreibt das Domain-Protection-Kind auf diesem Interface.
None = kein Override; Domain-Default gilt.
peer_class_filter: Vec<String>Zugelassene Peer-Klassen auf diesem Interface. Leer = keine Einschraenkung (alle Klassen erlaubt).
protection_min: Option<ProtectionKind>Minimales Protection-Level auf diesem Interface. Ergebnis ist
max(peer_class.protection, protection_min). None = kein
Minimum.
Trait Implementations§
Source§impl Clone for InterfaceBindingRule
impl Clone for InterfaceBindingRule
Source§fn clone(&self) -> InterfaceBindingRule
fn clone(&self) -> InterfaceBindingRule
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 moreSource§impl Debug for InterfaceBindingRule
impl Debug for InterfaceBindingRule
Source§impl Default for InterfaceBindingRule
impl Default for InterfaceBindingRule
Source§fn default() -> InterfaceBindingRule
fn default() -> InterfaceBindingRule
Returns the “default value” for a type. Read more
Source§impl PartialEq for InterfaceBindingRule
impl PartialEq for InterfaceBindingRule
Source§fn eq(&self, other: &InterfaceBindingRule) -> bool
fn eq(&self, other: &InterfaceBindingRule) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for InterfaceBindingRule
impl StructuralPartialEq for InterfaceBindingRule
Auto Trait Implementations§
impl Freeze for InterfaceBindingRule
impl RefUnwindSafe for InterfaceBindingRule
impl Send for InterfaceBindingRule
impl Sync for InterfaceBindingRule
impl Unpin for InterfaceBindingRule
impl UnsafeUnpin for InterfaceBindingRule
impl UnwindSafe for InterfaceBindingRule
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