Type Alias Result
Source pub type Result<T, E = Error> = Result<T, E>;
Expand description
Result shorthand using our Error enum.
pub enum Result<T, E = Error> {
Ok(T),
Err(E),
}
Contains the success value
A convenience method to enable shortcuts like
Status::MissingAvifOrAvisBrand.into();
instead of
Err(Error::from(Status::MissingAvifOrAvisBrand));
Note that Status::Ok can’t be supported this way and will panic.