Struct ether_dream::dac::Addressed [] [src]

pub struct Addressed {
    pub mac_address: MacAddress,
    pub dac: Dac,
}

A DAC along with its broadcasted MAC address.

This type can be used as though it is a Dac in many places as it implements Deref<Target = Dac>

Fields

The unique MAC address associated with the DAC.

This may be used to distinguish between multiple DACs broadcasting on a network.

The state of the DAC itself.

Methods

impl Addressed
[src]

[src]

Create an Addressed DAC from a received DacBroadcast.

Methods from Deref<Target = Dac>

[src]

Update the inner status given a new protocol representation.

Trait Implementations

impl Copy for Addressed
[src]

impl Clone for Addressed
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Addressed
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Addressed
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Addressed
[src]

impl Hash for Addressed
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Deref for Addressed
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl DerefMut for Addressed
[src]

[src]

Mutably dereferences the value.

Auto Trait Implementations

impl Send for Addressed

impl Sync for Addressed