[][src]Struct ether_dream_dac_emulator::Description

pub struct Description {
    pub mac_address: MacAddress,
    pub max_point_rate: u32,
    pub hw_revision: u16,
    pub sw_revision: u16,
    pub buffer_capacity: u16,
    pub broadcast_ip: Ipv4Addr,
    pub broadcaster_bind_port: u16,
}

A type that allows the user to describe a custom Ether Dream DAC emulator.

Fields

mac_address: MacAddressmax_point_rate: u32hw_revision: u16sw_revision: u16buffer_capacity: u16broadcast_ip: Ipv4Addr

The IP address used for broadcasting.

broadcaster_bind_port: u16

The network socket address port to which the UDP broadcaster should bind to.

This is an unimportant implementation detail, however we allow specifying it in case the default causes conflicts for the user.

Trait Implementations

impl Clone for Description[src]

impl Copy for Description[src]

impl Debug for Description[src]

impl Default for Description[src]

impl Eq for Description[src]

impl Hash for Description[src]

impl PartialEq<Description> for Description[src]

impl StructuralEq for Description[src]

impl StructuralPartialEq for Description[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.