pub struct RawVectorPayload {
pub tile_id: TileId,
pub bytes: Arc<Vec<u8>>,
pub decode_options: MvtDecodeOptions,
}Expand description
Raw (undecoded) vector tile payload.
Carries the wire-format PBF bytes, the originating tile ID, and the
decode options so that decoding can be deferred to a background thread
via DataTaskPool::spawn_decode.
Fields§
§tile_id: TileIdThe originating tile ID needed by the MVT decoder.
bytes: Arc<Vec<u8>>Raw PBF/MVT bytes as received from the network.
decode_options: MvtDecodeOptionsDecode options to apply (layer filter, etc.).
Trait Implementations§
Source§impl Clone for RawVectorPayload
impl Clone for RawVectorPayload
Source§fn clone(&self) -> RawVectorPayload
fn clone(&self) -> RawVectorPayload
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RawVectorPayload
impl RefUnwindSafe for RawVectorPayload
impl Send for RawVectorPayload
impl Sync for RawVectorPayload
impl Unpin for RawVectorPayload
impl UnsafeUnpin for RawVectorPayload
impl UnwindSafe for RawVectorPayload
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