pub struct M64GeoRasterDirectoryView<'a> { /* private fields */ }Expand description
Header + GRM3 + complete directory. Codec 0 has no per-chunk BLAKE3 trailer; selected records are borrowed only after the exact directory-row range matches.
Implementations§
Source§impl<'a> M64GeoRasterDirectoryView<'a>
impl<'a> M64GeoRasterDirectoryView<'a>
Sourcepub fn admit(
header: AuthenticatedRange<'a>,
grm3: AuthenticatedRange<'a>,
directory: AuthenticatedRange<'a>,
limits: FormatLimits,
max_records: u64,
) -> Result<Self, E>
pub fn admit( header: AuthenticatedRange<'a>, grm3: AuthenticatedRange<'a>, directory: AuthenticatedRange<'a>, limits: FormatLimits, max_records: u64, ) -> Result<Self, E>
Admit header, GRM3 metadata, and the complete directory. All must be authenticated ranges from the same selected entry.
pub const fn header(&self) -> &M64Header
pub const fn metadata(&self) -> &M64GeoRasterMetadata
Sourcepub fn selected_sample(
&self,
x: usize,
y: usize,
sample: AuthenticatedRange<'a>,
) -> Result<M64RasterSample, E>
pub fn selected_sample( &self, x: usize, y: usize, sample: AuthenticatedRange<'a>, ) -> Result<M64RasterSample, E>
Verify and return one exact 64-byte in-bounds raster sample. No padded cell or whole-chunk accessor is provided.
Auto Trait Implementations§
impl<'a> Freeze for M64GeoRasterDirectoryView<'a>
impl<'a> RefUnwindSafe for M64GeoRasterDirectoryView<'a>
impl<'a> Send for M64GeoRasterDirectoryView<'a>
impl<'a> Sync for M64GeoRasterDirectoryView<'a>
impl<'a> Unpin for M64GeoRasterDirectoryView<'a>
impl<'a> UnsafeUnpin for M64GeoRasterDirectoryView<'a>
impl<'a> UnwindSafe for M64GeoRasterDirectoryView<'a>
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
Converts
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> ⓘ
Converts
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