pub struct NcOpenOptions {
pub chunk_cache_bytes: usize,
pub chunk_cache_slots: usize,
pub filter_registry: Option<FilterRegistry>,
}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.
filter_registry: Option<FilterRegistry>Custom filter registry (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