pub enum Error<E> {
IO(E),
Data(DataError),
Implementation(ImplementationError),
Input(InputError),
Operation(OperationError),
Allocation(AllocationError),
}
Variants§
IO(E)
Data(DataError)
Implementation(ImplementationError)
Input(InputError)
Operation(OperationError)
Allocation(AllocationError)
Trait Implementations§
Source§impl<E> From<AllocationError> for Error<E>
impl<E> From<AllocationError> for Error<E>
Source§fn from(e: AllocationError) -> Self
fn from(e: AllocationError) -> Self
Converts to this type from the input type.
Source§impl<E> From<ImplementationError> for Error<E>
impl<E> From<ImplementationError> for Error<E>
Source§fn from(e: ImplementationError) -> Self
fn from(e: ImplementationError) -> Self
Converts to this type from the input type.
Source§impl<E> From<InputError> for Error<E>
impl<E> From<InputError> for Error<E>
Source§fn from(e: InputError) -> Self
fn from(e: InputError) -> Self
Converts to this type from the input type.
Source§impl<E> From<OperationError> for Error<E>
impl<E> From<OperationError> for Error<E>
Source§fn from(e: OperationError) -> Self
fn from(e: OperationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for Error<E>where
E: Freeze,
impl<E> RefUnwindSafe for Error<E>where
E: RefUnwindSafe,
impl<E> Send for Error<E>where
E: Send,
impl<E> Sync for Error<E>where
E: Sync,
impl<E> Unpin for Error<E>where
E: Unpin,
impl<E> UnwindSafe for Error<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