pub type FetchResponse = Result<Response, Error>;Expand description
This type specifies what the Fetch::fetch() API returns.
Aliased Type§
pub enum FetchResponse {
Ok(Response),
Err(Error),
}Variants§
Trait Implementations§
Source§impl From<Error> for FetchResponse
impl From<Error> for FetchResponse
Source§impl From<InternalError> for FetchResponse
impl From<InternalError> for FetchResponse
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.