pub enum GeneratorError<E> {
IOError(E),
}
Expand description
Error type for ExprGenerator
Variants§
IOError(E)
An IO error occurred
Implementations§
Source§impl<E: 'static> GeneratorError<E>
impl<E: 'static> GeneratorError<E>
Sourcepub fn from_infalliable(error: GeneratorError<Infallible>) -> Self
pub fn from_infalliable(error: GeneratorError<Infallible>) -> Self
Convert from an Infallible
error
Trait Implementations§
Source§impl<E: Debug> Debug for GeneratorError<E>
impl<E: Debug> Debug for GeneratorError<E>
Auto Trait Implementations§
impl<E> Freeze for GeneratorError<E>where
E: Freeze,
impl<E> RefUnwindSafe for GeneratorError<E>where
E: RefUnwindSafe,
impl<E> Send for GeneratorError<E>where
E: Send,
impl<E> Sync for GeneratorError<E>where
E: Sync,
impl<E> Unpin for GeneratorError<E>where
E: Unpin,
impl<E> UnwindSafe for GeneratorError<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