dapnet-api 0.3.0

Client for the DAPNET amateur paging network API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("API error rc={0}")]
    ApiError(reqwest::StatusCode),

    #[error("HTTP error {0}")]
    HttpError(#[from] reqwest::Error),

    #[error("URL error {0}")]
    UrlError(#[from] url::ParseError),
}

pub type Result<T> = std::result::Result<T, Error>;