pub struct StreamConfig {
pub dest: StreamDest,
pub iface: Iface,
pub packet_size: Option<u32>,
pub packet_delay: Option<u32>,
pub source_filter: Option<Ipv4Addr>,
}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>GVSP packet size in force.
packet_delay: Option<u32>GevSCPD written, in timestamp ticks; None when left alone.
source_filter: Option<Ipv4Addr>The only address GVSP is accepted from: the camera’s. Datagrams from any other source are ignored and counted.
Trait Implementations§
Source§impl Clone for StreamConfig
impl Clone for StreamConfig
Auto Trait Implementations§
impl Freeze for StreamConfig
impl RefUnwindSafe for StreamConfig
impl Send for StreamConfig
impl Sync for StreamConfig
impl Unpin for StreamConfig
impl UnsafeUnpin 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