pub struct LasChunkSource { /* private fields */ }Expand description
Bounded sequential LAS/LAZ source.
Implementations§
Source§impl LasChunkSource
impl LasChunkSource
Sourcepub fn open(
path: impl AsRef<Path>,
options: StreamOptions,
cancellation: CancellationToken,
) -> Result<Self, IoError>
pub fn open( path: impl AsRef<Path>, options: StreamOptions, cancellation: CancellationToken, ) -> Result<Self, IoError>
Opens a LAS or feature-enabled LAZ file for bounded chunk reads.
Trait Implementations§
Source§impl BoundedSpatialRecordSource for LasChunkSource
Available on crate feature streaming only.
impl BoundedSpatialRecordSource for LasChunkSource
Available on crate feature
streaming only.Source§fn schema(&self) -> &SchemaDescriptor
fn schema(&self) -> &SchemaDescriptor
Schema shared by every emitted record.
Source§fn options(&self) -> &StreamOptions
fn options(&self) -> &StreamOptions
Validated execution options.
Source§fn memory_tracker(&self) -> &MemoryTracker
fn memory_tracker(&self) -> &MemoryTracker
Exact tracker shared by emitted chunk leases.
Source§fn cancellation_token(&self) -> CancellationToken
fn cancellation_token(&self) -> CancellationToken
Cooperative cancellation state checked at chunk boundaries.
Source§fn max_chunk_bytes(&self) -> u64
fn max_chunk_bytes(&self) -> u64
Conservative maximum resident bytes for one emitted chunk.
Source§fn next_chunk(&mut self) -> Option<RecordsResult<SpatialRecordChunk>>
fn next_chunk(&mut self) -> Option<RecordsResult<SpatialRecordChunk>>
Returns the next leased chunk, or
None after an explicit end.Auto Trait Implementations§
impl !RefUnwindSafe for LasChunkSource
impl !Send for LasChunkSource
impl !Sync for LasChunkSource
impl !UnwindSafe for LasChunkSource
impl Freeze for LasChunkSource
impl Unpin for LasChunkSource
impl UnsafeUnpin for LasChunkSource
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