geomedea 0.2.1

a geospatial data format optimized for remotely accessing a subset of planet-wide data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("Failure with bincode")]
    Bincode(#[from] bincode::Error),
    #[error("I/O error")]
    IO(#[from] std::io::Error),
    #[error("Only had {found} features, but expected {expected}")]
    FeatureCountMismatch { found: u64, expected: u64 },
    #[error("HTTP error")]
    HTTP(#[from] streaming_http_range_client::Error),
}
pub type Result<T> = std::result::Result<T, Error>;