pub struct HostedResources<'a, I, OUT> {
pub net_device: NetDriver<'a>,
pub bluetooth: BtDriver<'a>,
pub control: Control<'a>,
pub runner: Runner<'a, I, OUT>,
}Expand description
Handles returned by new for interacting with the esp-hosted driver.
Fields§
§net_device: NetDriver<'a>Network device for use with embassy-net.
bluetooth: BtDriver<'a>Bluetooth HCI transport, for use with a bt-hci host stack.
control: Control<'a>Control handle for managing WiFi and driver state.
runner: Runner<'a, I, OUT>Runner driving communication with the coprocessor. Must be spawned.
Auto Trait Implementations§
impl<'a, I, OUT> !Freeze for HostedResources<'a, I, OUT>
impl<'a, I, OUT> !RefUnwindSafe for HostedResources<'a, I, OUT>
impl<'a, I, OUT> !Send for HostedResources<'a, I, OUT>
impl<'a, I, OUT> !Sync for HostedResources<'a, I, OUT>
impl<'a, I, OUT> Unpin for HostedResources<'a, I, OUT>
impl<'a, I, OUT> !UnwindSafe for HostedResources<'a, I, OUT>
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