places::error

Type Alias ApiResult

source
pub type ApiResult<T> = Result<T, PlacesApiError>;

Aliased Type§

enum ApiResult<T> {
    Ok(T),
    Err(PlacesApiError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(PlacesApiError)

Contains the error value