pub enum Fetched {
Z,
B(u8),
BB(u8, u8),
BBB(u8, u8, u8),
BS(u8, u16),
BSS(u8, u16, u16),
S(u16),
W(u32),
}Variants§
Implementations§
Source§impl Fetched
impl Fetched
pub fn as_z(self) -> Result<(), Error>
pub fn as_b(self) -> Result<u8, Error>
pub fn as_bb(self) -> Result<(u8, u8), Error>
pub fn as_bbb(self) -> Result<(u8, u8, u8), Error>
pub fn as_bs(self) -> Result<(u8, u16), Error>
pub fn as_bss(self) -> Result<(u8, u16, u16), Error>
pub fn as_s(self) -> Result<u16, Error>
pub fn as_w(self) -> Result<u32, Error>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fetched
impl RefUnwindSafe for Fetched
impl Send for Fetched
impl Sync for Fetched
impl Unpin for Fetched
impl UnwindSafe for Fetched
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