pub enum StreamDest {
Unicast {
dst_ip: Ipv4Addr,
dst_port: u16,
},
Multicast {
group: Ipv4Addr,
port: u16,
loopback: bool,
ttl: u32,
},
}Expand description
Destination for GVSP packets received by the stream.
Variants§
Unicast
Standard unicast delivery towards a single host.
Fields
Multicast
Multicast delivery towards one or more hosts joined to the group.
Implementations§
Trait Implementations§
Source§impl Clone for StreamDest
impl Clone for StreamDest
Source§fn clone(&self) -> StreamDest
fn clone(&self) -> StreamDest
Returns a duplicate of the value. Read more
1.0.0 · 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 StreamDest
impl Debug for StreamDest
Source§impl PartialEq for StreamDest
impl PartialEq for StreamDest
impl Copy for StreamDest
impl Eq for StreamDest
impl StructuralPartialEq for StreamDest
Auto Trait Implementations§
impl Freeze for StreamDest
impl RefUnwindSafe for StreamDest
impl Send for StreamDest
impl Sync for StreamDest
impl Unpin for StreamDest
impl UnwindSafe for StreamDest
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