[][src]Enum lasy::DetectedDac

pub enum DetectedDac {
    EtherDream {
        broadcast: DacBroadcast,
        source_addr: SocketAddr,

An available DAC detected on the system.



An ether dream laser DAC discovered via the ether dream protocol broadcast message.

Fields of EtherDream

broadcast: DacBroadcastsource_addr: SocketAddr


impl DetectedDac[src]

pub fn max_point_hz(&self) -> u32[src]

The maximum point rate allowed by the DAC.

pub fn buffer_capacity(&self) -> u32[src]

The number of points that can be stored within the buffer.

pub fn id(&self) -> DacId[src]

A persistent, unique identifier associated with the DAC (like a MAC address).

It should be possible to use this to uniquely identify the same DAC on different occasions.

Trait Implementations

impl Clone for DetectedDac[src]

default fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for DetectedDac[src]

Auto Trait Implementations

impl Send for DetectedDac

impl Sync for DetectedDac

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

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

impl<T> BorrowMut for T where
    T: ?Sized

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.