pocketcasts 0.1.4

Pocketcasts (unofficial) API client.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Library errors.
#[derive(Fail, Debug)]
pub enum PocketcastsError {
    #[fail(display = "Http Error: {}", _0)]
    ReqwestError(#[cause] reqwest::Error),
    #[fail(display = "could not authorize")]
    Unauthorized,
}

impl From<reqwest::Error> for PocketcastsError {
    fn from(error: reqwest::Error) -> Self {
        PocketcastsError::ReqwestError(error)
    }
}