pub struct InboundCtx<'a> {
pub domain_id: u32,
pub source_peer: &'a PeerKey,
pub source_iface: &'a NetInterface,
pub source_caps: Option<&'a PeerCapabilities>,
pub is_sec_prefixed: bool,
}Expand description
Inbound-Entscheidungs-Context: ein Datagramm ist reingekommen.
Fields§
§domain_id: u32Domain, in der der Empfaenger lebt.
source_peer: &'a PeerKeyGuidPrefix des Senders (aus RTPS-Header Bytes 8..20).
source_iface: &'a NetInterfaceKlasse des Empfangs-Interfaces.
source_caps: Option<&'a PeerCapabilities>Capability-Snapshot des Senders. None wenn der Peer noch nie
ein SPDP-Announce geschickt hat (Legacy-Vendor oder
Pre-Discovery).
is_sec_prefixed: booltrue wenn das Paket mit SRTPS_PREFIX beginnt (also laut
Wire-Format schon geschuetzt ist).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for InboundCtx<'a>
impl<'a> RefUnwindSafe for InboundCtx<'a>
impl<'a> Send for InboundCtx<'a>
impl<'a> Sync for InboundCtx<'a>
impl<'a> Unpin for InboundCtx<'a>
impl<'a> UnsafeUnpin for InboundCtx<'a>
impl<'a> UnwindSafe for InboundCtx<'a>
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