pub struct InterfaceComms<const N: usize> {
pub to_pc: Consumer<'static, Result<ToPc, Error>, N>,
pub to_mcu: Producer<'static, ToMcu, N>,
}Expand description
Serial Interface half of the CommsLink type.
Fields§
§to_pc: Consumer<'static, Result<ToPc, Error>, N>§to_mcu: Producer<'static, ToMcu, N>Auto Trait Implementations§
impl<const N: usize> Freeze for InterfaceComms<N>
impl<const N: usize> !RefUnwindSafe for InterfaceComms<N>
impl<const N: usize> Send for InterfaceComms<N>
impl<const N: usize> !Sync for InterfaceComms<N>
impl<const N: usize> Unpin for InterfaceComms<N>
impl<const N: usize> !UnwindSafe for InterfaceComms<N>
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