pub type OpResult<T, E = Infallible> = Result<T, OpError<E>>;
Expand description
Shorthand for a Result
where the error type is an OpError
.
Aliased Type§
pub enum OpResult<T, E = Infallible> {
Ok(T),
Err(OpError<E>),
}
pub type OpResult<T, E = Infallible> = Result<T, OpError<E>>;
Shorthand for a Result
where the error type is an OpError
.
pub enum OpResult<T, E = Infallible> {
Ok(T),
Err(OpError<E>),
}