pub struct StreamArgs {
pub ip: Option<Ipv4Addr>,
pub index: Option<usize>,
pub iface: Option<IfaceSelector>,
pub mode: String,
pub group: Option<Ipv4Addr>,
pub port: u16,
pub packet_size: Option<u32>,
pub auto: bool,
pub save: usize,
pub rgb: bool,
pub duration_s: u64,
}Fields§
§ip: Option<Ipv4Addr>§index: Option<usize>§iface: Option<IfaceSelector>§mode: String§group: Option<Ipv4Addr>§port: u16§packet_size: Option<u32>Explicit GVSP packet size ceiling. Mutually exclusive with StreamArgs::auto.
auto: boolSet from NIC MTU then path-probe (ADR-0021). Mutually exclusive with
StreamArgs::packet_size.
save: usize§rgb: bool§duration_s: u64Trait Implementations§
Source§impl Clone for StreamArgs
impl Clone for StreamArgs
Source§fn clone(&self) -> StreamArgs
fn clone(&self) -> StreamArgs
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 moreAuto Trait Implementations§
impl Freeze for StreamArgs
impl RefUnwindSafe for StreamArgs
impl Send for StreamArgs
impl Sync for StreamArgs
impl Unpin for StreamArgs
impl UnsafeUnpin for StreamArgs
impl UnwindSafe for StreamArgs
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