pub struct StreamConfig {
pub dest: StreamDest,
pub iface: Iface,
pub packet_size: Option<u32>,
pub packet_delay: Option<u32>,
pub source_filter: Option<Ipv4Addr>,
pub resend_enabled: bool,
}Expand description
Stream configuration shared between the control plane and GVSP receiver.
Fields§
§dest: StreamDestDestination configuration for the GVSP stream.
iface: IfaceInterface used for receiving packets and multicast subscription.
packet_size: Option<u32>Override for GVSP packet size determined via control plane.
packet_delay: Option<u32>Override for GVSP packet delay determined via control plane.
source_filter: Option<Ipv4Addr>Optional source filter restricting packets to the configured IPv4 address.
resend_enabled: boolWhether GVCP resend requests should be issued when drops are detected.
Trait Implementations§
Source§impl Clone for StreamConfig
impl Clone for StreamConfig
Source§fn clone(&self) -> StreamConfig
fn clone(&self) -> StreamConfig
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 moreAuto Trait Implementations§
impl Freeze for StreamConfig
impl RefUnwindSafe for StreamConfig
impl Send for StreamConfig
impl Sync for StreamConfig
impl Unpin for StreamConfig
impl UnwindSafe for StreamConfig
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