pub struct TransportChannels<M: RawMutex> {
pub wired: Channel<M, OutFrame, 4>,
pub ble: Channel<M, OutFrame, 4>,
}Expand description
The per-transport outbound frame queues, drained by the board’s
transport output tasks. wired is the physical-possession transport
(USB-CDC or UART), ble the bonded GATT transport — the same pairing
transport_policy::Transport names.
Fields§
§wired: Channel<M, OutFrame, 4>§ble: Channel<M, OutFrame, 4>Implementations§
Auto Trait Implementations§
impl<M> !Freeze for TransportChannels<M>
impl<M> !RefUnwindSafe for TransportChannels<M>
impl<M> Send for TransportChannels<M>where
M: Send,
impl<M> Sync for TransportChannels<M>where
M: Sync,
impl<M> Unpin for TransportChannels<M>where
M: Unpin,
impl<M> UnwindSafe for TransportChannels<M>where
M: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more