pub struct CommandParser { /* private fields */ }Expand description
Byte-by-byte accumulator that parses incoming host commands from frames
terminated with \r.
This is the device-side counterpart to Parser, which decodes device
responses. Use CommandParser in rotator firmware; use Parser in
host-side controller software.
Implementations§
Source§impl CommandParser
impl CommandParser
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandParser
impl RefUnwindSafe for CommandParser
impl Send for CommandParser
impl Sync for CommandParser
impl Unpin for CommandParser
impl UnsafeUnpin for CommandParser
impl UnwindSafe for CommandParser
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