pub enum DecodeResult {
Ok(Instruction),
None,
Err(String),
}Variants§
Ok(Instruction)
Wraps the decoded instruction
None
Input string contains no instruction
Err(String)
Error decoding input string
Auto Trait Implementations§
impl Freeze for DecodeResult
impl RefUnwindSafe for DecodeResult
impl Send for DecodeResult
impl Sync for DecodeResult
impl Unpin for DecodeResult
impl UnwindSafe for DecodeResult
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