pub struct OutboundCtx<'a> {
pub domain_id: u32,
pub topic: &'a str,
pub partition: &'a [String],
pub interface: &'a NetInterface,
pub remote_peer: &'a PeerKey,
pub remote_caps: &'a PeerCapabilities,
}Expand description
Outbound decision context: a writer sends to a peer.
Fields§
§domain_id: u32Domain the writer lives in.
topic: &'a strTopic name (for governance topic_rule matching).
partition: &'a [String]Partition names (for the permissions check).
interface: &'a NetInterfaceClass of the interface the packet goes out on.
remote_peer: &'a PeerKeyGuidPrefix of the remote peer.
remote_caps: &'a PeerCapabilitiesCapability snapshot of the remote peer (from SPDP/SEDP).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for OutboundCtx<'a>
impl<'a> RefUnwindSafe for OutboundCtx<'a>
impl<'a> Send for OutboundCtx<'a>
impl<'a> Sync for OutboundCtx<'a>
impl<'a> Unpin for OutboundCtx<'a>
impl<'a> UnsafeUnpin for OutboundCtx<'a>
impl<'a> UnwindSafe for OutboundCtx<'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