pub struct RNodeDecoder { /* private fields */ }Expand description
Streaming RNode KISS decoder.
Handles KISS framing, KISS escape sequences, multi-byte command responses, and subinterface data routing.
Implementations§
Source§impl RNodeDecoder
impl RNodeDecoder
pub fn new() -> Self
Sourcepub fn selected_index(&self) -> u8
pub fn selected_index(&self) -> u8
Current selected subinterface index.
Sourcepub fn feed(&mut self, bytes: &[u8]) -> Vec<RNodeEvent>
pub fn feed(&mut self, bytes: &[u8]) -> Vec<RNodeEvent>
Feed raw bytes and return decoded events.
Auto Trait Implementations§
impl Freeze for RNodeDecoder
impl RefUnwindSafe for RNodeDecoder
impl Send for RNodeDecoder
impl Sync for RNodeDecoder
impl Unpin for RNodeDecoder
impl UnwindSafe for RNodeDecoder
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