pub struct StreamParams {
pub packet_size: u32,
pub packet_delay: u32,
pub mtu: u32,
pub host: Ipv4Addr,
pub port: u16,
}Expand description
Stream negotiation outcome describing the values written to the device.
Fields§
§packet_size: u32Selected GVSP packet size (bytes).
packet_delay: u32Packet delay expressed in GVSP clock ticks (80 ns units).
mtu: u32Link MTU used to derive the packet size.
host: Ipv4AddrHost IPv4 address configured on the device.
port: u16Host port configured on the device.
Trait Implementations§
Source§impl Clone for StreamParams
impl Clone for StreamParams
Source§fn clone(&self) -> StreamParams
fn clone(&self) -> StreamParams
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 StreamParams
impl Debug for StreamParams
Source§impl PartialEq for StreamParams
impl PartialEq for StreamParams
impl Copy for StreamParams
impl Eq for StreamParams
impl StructuralPartialEq for StreamParams
Auto Trait Implementations§
impl Freeze for StreamParams
impl RefUnwindSafe for StreamParams
impl Send for StreamParams
impl Sync for StreamParams
impl Unpin for StreamParams
impl UnwindSafe for StreamParams
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