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.