pub struct NodeHardware<'a> { /* private fields */ }Expand description
Hardware handles required to operate a node in any mode.
Implementations§
Source§impl<'a> NodeHardware<'a>
impl<'a> NodeHardware<'a>
Sourcepub fn new(controller: &'a mut WifiController<'static>) -> Self
pub fn new(controller: &'a mut WifiController<'static>) -> Self
Create a hardware bundle from the WifiController.
Claims the station and access-point interfaces, the sniffer and ESP-NOW from the controller. Build one per controller: the interfaces are singletons, so a second bundle panics.
Auto Trait Implementations§
impl<'a> !UnwindSafe for NodeHardware<'a>
impl<'a> Freeze for NodeHardware<'a>
impl<'a> RefUnwindSafe for NodeHardware<'a>
impl<'a> Send for NodeHardware<'a>
impl<'a> Sync for NodeHardware<'a>
impl<'a> Unpin for NodeHardware<'a>
impl<'a> UnsafeUnpin for NodeHardware<'a>
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