Struct kdri::BtAddr [] [src]

#[repr(C, packed)]
pub struct BtAddr(pub [u8; 6]);

A 6-byte long MAC address.

Methods

impl BtAddr
[src]

Returns the MAC address 00:00:00:00:00:00

Converts a string of the format XX:XX:XX:XX:XX:XX to a BtAddr.

Converts BtAddr to a string of the format XX:XX:XX:XX:XX:XX.

Trait Implementations

impl Copy for BtAddr
[src]

impl Eq for BtAddr
[src]

impl PartialEq<BtAddr> for BtAddr
[src]

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

This method tests for !=.

impl Debug for BtAddr
[src]

Formats the value using the given formatter.

impl Clone for BtAddr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more