pub struct TileEntry {}Expand description
One directory entry: where a tile lives and what it covers.
Fields§
§zoom: u8Zoom level.
x: u32Tile X coordinate.
y: u32Tile Y coordinate.
time_start: i64Inclusive temporal start (Unix ms).
time_end: i64Inclusive temporal end (Unix ms).
pack_id: u32Index of the pack object holding this tile’s blob (packed format).
In the single-file v4 archive every tile lives in the one file, so this
is always 0 and offset is whole-file relative. In the
multi-object packed format this selects manifest.packs[pack_id] and
offset becomes pack-relative. A per-blob (per-run)
property, not a per-entry key — entries RLE-collapse only within one pack.
offset: u64Byte offset of the compressed blob.
Whole-file relative for the v4 single-file archive; pack-relative (within
packs[pack_id]) for the packed format.
length: u32Compressed blob length in bytes.
uncompressed_size: u32Uncompressed payload length in bytes.
feature_count: u32Total feature count across the tile’s layers.
hilbert: u64Hilbert index of (zoom, x, y) — directory sort key.
crc32c: u32CRC32C integrity tag of the compressed blob.
temporal_bucket_ms: Option<u64>Temporal bucket size in milliseconds this tile occupies.
Base tiles record the archive’s base bucket size; temporal-LOD tiles
record their coarser bucket. None when the archive carries no LOD
pyramid (readers fall back to Metadata::temporal_bucket_ms).
cover_t_min: Option<i64>Tight lower covering bound — the minimum feature start time actually
present in the tile. time_start is the addressable bucket boundary
(kept loose so (z,x,y,bucket) lookup works); cover_t_min is the real
earliest data, which a client uses to prune a tile whose features all lie
after a query window (time_end already gives the tight upper bound).
None when not computed — repacked/transcoded archives and pre-covering
builds — in which case clients fall back to time_start.
Implementations§
Trait Implementations§
impl StructuralPartialEq for TileEntry
Auto Trait Implementations§
impl Freeze for TileEntry
impl RefUnwindSafe for TileEntry
impl Send for TileEntry
impl Sync for TileEntry
impl Unpin for TileEntry
impl UnsafeUnpin for TileEntry
impl UnwindSafe for TileEntry
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more