pub enum ToolResultErr<E> {
Match {
len: usize,
},
NoMatch {
err: E,
},
}Expand description
Return type of a ParseToolErr.
Variants§
Implementations§
Source§impl<E> ToolResultErr<E>
impl<E> ToolResultErr<E>
Sourcepub fn into_result(self) -> Result<usize, E>
pub fn into_result(self) -> Result<usize, E>
Convert to a Result.
Auto Trait Implementations§
impl<E> Freeze for ToolResultErr<E>where
E: Freeze,
impl<E> RefUnwindSafe for ToolResultErr<E>where
E: RefUnwindSafe,
impl<E> Send for ToolResultErr<E>where
E: Send,
impl<E> Sync for ToolResultErr<E>where
E: Sync,
impl<E> Unpin for ToolResultErr<E>where
E: Unpin,
impl<E> UnwindSafe for ToolResultErr<E>where
E: UnwindSafe,
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