referrerpolicy=no-referrer-when-downgrade

FetchResponse

Type Alias FetchResponse 

Source
pub type FetchResponse = Result<MessagesResponse, FetchError>;
Expand description

What the fetch server sends back for one MessagesRequest.

Aliased Type§

pub enum FetchResponse {
    Ok(MessagesResponse),
    Err(FetchError),
}

Variants§

§1.0.0

Ok(MessagesResponse)

Contains the success value

§1.0.0

Err(FetchError)

Contains the error value