pub enum MenuVecParseError<E> {
Empty,
ItemParsed(E),
}Expand description
The error type used for parsing user input into a MenuVec<T>.
The E generic parameter means <T as FromStr>::Err.
Variants§
Trait Implementations§
Source§impl<E> Debug for MenuVecParseError<E>where
E: Debug,
impl<E> Debug for MenuVecParseError<E>where
E: Debug,
Source§impl<E> From<E> for MenuVecParseError<E>
impl<E> From<E> for MenuVecParseError<E>
Source§fn from(err: E) -> MenuVecParseError<E>
fn from(err: E) -> MenuVecParseError<E>
Converts to this type from the input type.
Source§impl<E> PartialEq for MenuVecParseError<E>where
E: PartialEq,
impl<E> PartialEq for MenuVecParseError<E>where
E: PartialEq,
impl<E> StructuralPartialEq for MenuVecParseError<E>where
E: PartialEq,
Auto Trait Implementations§
impl<E> Freeze for MenuVecParseError<E>where
E: Freeze,
impl<E> RefUnwindSafe for MenuVecParseError<E>where
E: RefUnwindSafe,
impl<E> Send for MenuVecParseError<E>where
E: Send,
impl<E> Sync for MenuVecParseError<E>where
E: Sync,
impl<E> Unpin for MenuVecParseError<E>where
E: Unpin,
impl<E> UnsafeUnpin for MenuVecParseError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for MenuVecParseError<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