pub struct NcOpenOptions {
pub chunk_cache_bytes: usize,
pub chunk_cache_slots: usize,
pub metadata_mode: NcMetadataMode,
pub filter_registry: Option<FilterRegistry>,
pub external_file_resolver: Option<Arc<dyn ExternalFileResolver>>,
pub external_link_resolver: Option<Arc<dyn ExternalLinkResolver>>,
}Expand description
Configuration options for opening a NetCDF file.
Fields§
§chunk_cache_bytes: usizeMaximum bytes for the chunk cache (NC4 only). Default: 64 MiB.
chunk_cache_slots: usizeMaximum number of chunk cache slots (NC4 only). Default: 521.
metadata_mode: NcMetadataModeNetCDF-4 metadata reconstruction policy. Default: strict.
filter_registry: Option<FilterRegistry>Custom filter registry (NC4 only).
external_file_resolver: Option<Arc<dyn ExternalFileResolver>>Resolver for HDF5 external raw data files (NC4 only).
external_link_resolver: Option<Arc<dyn ExternalLinkResolver>>Resolver for HDF5 external links (NC4 only).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NcOpenOptions
impl !RefUnwindSafe for NcOpenOptions
impl Send for NcOpenOptions
impl Sync for NcOpenOptions
impl Unpin for NcOpenOptions
impl UnsafeUnpin for NcOpenOptions
impl !UnwindSafe for NcOpenOptions
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
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