pub struct MulticastDescriptor {
pub ip_protocol_version: IpProtocolVersion,
pub ip_address: [u8; 16],
pub multicast_port: u16,
pub include_sources: bool,
pub source_addresses: Vec<[u8; 16]>,
}Expand description
multicast_descriptor() (Table 85).
Fields§
§ip_protocol_version: IpProtocolVersionIP_protocol_version (8) — Table 86.
ip_address: [u8; 16]IP_address (128) — multicast service address (IPv4: first 12 bytes 0x00).
multicast_port: u16multicast_port (16).
include_sources: boolinclude_sources (1) — true = receive only from listed sources; false
= receive from all sources except those listed (only relevant when sources
are present).
source_addresses: Vec<[u8; 16]>source_address list (loop count num_source_addresses); empty = any source.
Implementations§
Trait Implementations§
Source§impl Clone for MulticastDescriptor
impl Clone for MulticastDescriptor
Source§fn clone(&self) -> MulticastDescriptor
fn clone(&self) -> MulticastDescriptor
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 MulticastDescriptor
impl Debug for MulticastDescriptor
impl Eq for MulticastDescriptor
Source§impl PartialEq for MulticastDescriptor
impl PartialEq for MulticastDescriptor
Source§impl Serialize for MulticastDescriptor
Available on crate feature serde only.
impl Serialize for MulticastDescriptor
Available on crate feature
serde only.Source§impl Serialize for MulticastDescriptor
impl Serialize for MulticastDescriptor
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for MulticastDescriptor
Auto Trait Implementations§
impl Freeze for MulticastDescriptor
impl RefUnwindSafe for MulticastDescriptor
impl Send for MulticastDescriptor
impl Sync for MulticastDescriptor
impl Unpin for MulticastDescriptor
impl UnsafeUnpin for MulticastDescriptor
impl UnwindSafe for MulticastDescriptor
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