pub struct RawSendReport {
pub publication_id: RawPublicationId,
pub family: PublicationAddressFamily,
pub source_ip: Option<IpAddr>,
pub destination_ip: Option<IpAddr>,
pub ip_protocol: Option<u8>,
pub bytes_sent: usize,
pub local_bind_addr: Option<IpAddr>,
pub outgoing_interface: Option<OutgoingInterface>,
pub outgoing_interface_index: Option<u32>,
}Expand description
Result of one raw multicast send call.
Fields§
§publication_id: RawPublicationIdPublication used for the send.
family: PublicationAddressFamilyParsed IP address family.
source_ip: Option<IpAddr>Source address parsed from the supplied datagram.
destination_ip: Option<IpAddr>Destination address parsed from the supplied datagram.
ip_protocol: Option<u8>IPv4 protocol or IPv6 next-header value from the supplied datagram.
bytes_sent: usizeComplete IP datagram length accepted by the backend.
local_bind_addr: Option<IpAddr>Local address used to select the egress interface, if configured.
outgoing_interface: Option<OutgoingInterface>Caller-provided outgoing-interface selector.
outgoing_interface_index: Option<u32>Resolved outgoing interface index, if known.
Trait Implementations§
Source§impl Clone for RawSendReport
impl Clone for RawSendReport
Source§fn clone(&self) -> RawSendReport
fn clone(&self) -> RawSendReport
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 RawSendReport
Source§impl Debug for RawSendReport
impl Debug for RawSendReport
impl Eq for RawSendReport
Source§impl PartialEq for RawSendReport
impl PartialEq for RawSendReport
impl StructuralPartialEq for RawSendReport
Auto Trait Implementations§
impl Freeze for RawSendReport
impl RefUnwindSafe for RawSendReport
impl Send for RawSendReport
impl Sync for RawSendReport
impl Unpin for RawSendReport
impl UnsafeUnpin for RawSendReport
impl UnwindSafe for RawSendReport
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