pub enum ReplError<E> {
ReadlineError,
EvaluatorError(E),
}
Variants§
Trait Implementations§
Source§impl<E> From<ReadlineError> for ReplError<E>
impl<E> From<ReadlineError> for ReplError<E>
Source§fn from(_: ReadlineError) -> Self
fn from(_: ReadlineError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for ReplError<E>where
E: Freeze,
impl<E> RefUnwindSafe for ReplError<E>where
E: RefUnwindSafe,
impl<E> Send for ReplError<E>where
E: Send,
impl<E> Sync for ReplError<E>where
E: Sync,
impl<E> Unpin for ReplError<E>where
E: Unpin,
impl<E> UnwindSafe for ReplError<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