Trait ExpectByte
byte_parser
pub trait ExpectByte: Sized { fn expect_byte_fn<F>(self, f: F) -> Result<Self, Option<u8>> where F: Fn(u8) -> bool; fn expect_byte(self, byte: u8) -> Result<Self, Option<u8>> { ... } }
fn expect_byte_fn<F>(self, f: F) -> Result<Self, Option<u8>> where F: Fn(u8) -> bool,
fn expect_byte(self, byte: u8) -> Result<Self, Option<u8>>
impl ExpectByte for Option<u8>
impl ExpectByte for u8