Struct flatgeobuf::HttpFgbReader
source · pub struct HttpFgbReader<T: AsyncHttpRangeClient = Client> { /* private fields */ }
Expand description
FlatGeobuf dataset HTTP reader
Implementations§
source§impl HttpFgbReader<Client>
impl HttpFgbReader<Client>
source§impl<T: AsyncHttpRangeClient> HttpFgbReader<T>
impl<T: AsyncHttpRangeClient> HttpFgbReader<T>
pub async fn new( client: AsyncBufferedHttpRangeClient<T> ) -> Result<HttpFgbReader<T>>
pub fn header(&self) -> Header<'_>
sourcepub async fn select_all(self) -> Result<AsyncFeatureIter<T>>
pub async fn select_all(self) -> Result<AsyncFeatureIter<T>>
Select all features.
sourcepub async fn select_bbox(
self,
min_x: f64,
min_y: f64,
max_x: f64,
max_y: f64
) -> Result<AsyncFeatureIter<T>>
pub async fn select_bbox( self, min_x: f64, min_y: f64, max_x: f64, max_y: f64 ) -> Result<AsyncFeatureIter<T>>
Select features within a bounding box.
Auto Trait Implementations§
impl<T> RefUnwindSafe for HttpFgbReader<T>where
T: RefUnwindSafe,
impl<T> Send for HttpFgbReader<T>where
T: Send,
impl<T> Sync for HttpFgbReader<T>where
T: Sync,
impl<T> Unpin for HttpFgbReader<T>where
T: Unpin,
impl<T> UnwindSafe for HttpFgbReader<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more