pub struct Net { /* private fields */ }
Expand description
Communication Device Class (CDC) network function.
Implementations§
Source§impl Net
impl Net
Sourcepub fn builder(net_class: NetClass) -> NetBuilder
pub fn builder(net_class: NetClass) -> NetBuilder
Creates a new USB network function builder.
Sourcepub fn dev_addr(&self) -> Result<MacAddr6>
pub fn dev_addr(&self) -> Result<MacAddr6>
MAC address of device’s end of this Ethernet over USB link.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Net
impl RefUnwindSafe for Net
impl Send for Net
impl Sync for Net
impl Unpin for Net
impl UnwindSafe for Net
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more