[−][src]Struct ether_dream::protocol::DacBroadcast
Regardless of the data source being used, each DAC broadcasts a status/ID datagram over UDP to its local network's broadcast address once per second.
Fields
mac_address: [u8; 6]
The unique hardware identifier for the DAC.
hw_revision: u16
This field is undocumented in the official protocol but seems to represent a version number for the hardware in use by the DAC.
sw_revision: u16
This field is undocumented in the official protocol but seems to represent the version of
the protocol implementation. As of writing this, this is hardcoded as 2
in the original
source.
buffer_capacity: u16
The DAC's maximum buffer capacity for storing points that are yet to be converted to output.
As of writing this, this is hardcoded to 1800
in the original DAC source code.
max_point_rate: u32
The DAC's maximum point rate.
As of writing this, this is hardcoded to 100_000
in the original DAC source code.
dac_status: DacStatus
The current status of the DAC.
Trait Implementations
impl WriteToBytes for DacBroadcast
[src]
fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>
[src]
impl ReadFromBytes for DacBroadcast
[src]
fn read_from_bytes<R: ReadBytesExt>(reader: R) -> Result<Self>
[src]
impl SizeBytes for DacBroadcast
[src]
const SIZE_BYTES: usize
[src]
impl Clone for DacBroadcast
[src]
fn clone(&self) -> DacBroadcast
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for DacBroadcast
[src]
impl Eq for DacBroadcast
[src]
impl PartialEq<DacBroadcast> for DacBroadcast
[src]
fn eq(&self, other: &DacBroadcast) -> bool
[src]
fn ne(&self, other: &DacBroadcast) -> bool
[src]
impl Debug for DacBroadcast
[src]
impl Hash for DacBroadcast
[src]
Auto Trait Implementations
impl Send for DacBroadcast
impl Sync for DacBroadcast
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,