pub struct LiveProtocol { /* private fields */ }Implementations§
Source§impl LiveProtocol
impl LiveProtocol
pub fn new( radios: impl IntoIterator<Item = ConfiguredRadio>, platform: Option<DevicePlatform>, ) -> LiveProtocol
pub fn set_platform(&mut self, platform: Option<DevicePlatform>)
pub fn apply<'a>(&mut self, command: u8, payload: &'a [u8]) -> LiveCommand<'a>
Auto Trait Implementations§
impl Freeze for LiveProtocol
impl RefUnwindSafe for LiveProtocol
impl Send for LiveProtocol
impl Sync for LiveProtocol
impl Unpin for LiveProtocol
impl UnsafeUnpin for LiveProtocol
impl UnwindSafe for LiveProtocol
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