pub struct ShprotoParser<const N: usize> { /* private fields */ }
Implementations§
Source§impl<const N: usize> ShprotoParser<N>
impl<const N: usize> ShprotoParser<N>
pub fn new() -> Self
pub fn parse_byte( &mut self, byte: u8, ) -> Result<Option<ShprotoPacket<N>>, ShprotoError>
Auto Trait Implementations§
impl<const N: usize> Freeze for ShprotoParser<N>
impl<const N: usize> RefUnwindSafe for ShprotoParser<N>
impl<const N: usize> Send for ShprotoParser<N>
impl<const N: usize> Sync for ShprotoParser<N>
impl<const N: usize> Unpin for ShprotoParser<N>
impl<const N: usize> UnwindSafe for ShprotoParser<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