pub struct StorageCeilings { /* private fields */ }Expand description
Explicit ceilings for durable corpus artifacts.
Callers raise or tighten these through crate::CollectionOptions or
process crate::ConfigBuilder. The engine never invents values from
host RAM or free disk.
Implementations§
Source§impl StorageCeilings
impl StorageCeilings
Sourcepub fn try_with_max_snapshot_bytes(self, limit: u64) -> Result<Self>
pub fn try_with_max_snapshot_bytes(self, limit: u64) -> Result<Self>
Caps one atomic document snapshot write or recovery.
Sourcepub fn try_with_max_index_cache_bytes(self, limit: u64) -> Result<Self>
pub fn try_with_max_index_cache_bytes(self, limit: u64) -> Result<Self>
Caps the derived index-cache payload (HNSW/scalar/FTS blob).
Sourcepub fn try_with_max_wal_replay_bytes(self, limit: u64) -> Result<Self>
pub fn try_with_max_wal_replay_bytes(self, limit: u64) -> Result<Self>
Caps committed WAL bytes replayed during open/recovery.
Sourcepub fn try_with_max_diskann_file_bytes(self, limit: u64) -> Result<Self>
pub fn try_with_max_diskann_file_bytes(self, limit: u64) -> Result<Self>
Caps one DiskANN sidecar file.
pub fn max_snapshot_bytes(self) -> u64
pub fn max_index_cache_bytes(self) -> u64
Sourcepub fn max_index_cache_file_bytes(self) -> u64
pub fn max_index_cache_file_bytes(self) -> u64
On-disk index-cache file ceiling, including framing overhead.
pub fn max_wal_replay_bytes(self) -> u64
pub fn max_diskann_file_bytes(self) -> u64
Trait Implementations§
Source§impl Clone for StorageCeilings
impl Clone for StorageCeilings
impl Copy for StorageCeilings
Source§impl Debug for StorageCeilings
impl Debug for StorageCeilings
Source§impl Default for StorageCeilings
impl Default for StorageCeilings
Source§impl<'de> Deserialize<'de> for StorageCeilings
impl<'de> Deserialize<'de> for StorageCeilings
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StorageCeilings
Source§impl PartialEq for StorageCeilings
impl PartialEq for StorageCeilings
Source§impl Serialize for StorageCeilings
impl Serialize for StorageCeilings
impl StructuralPartialEq for StorageCeilings
Auto Trait Implementations§
impl Freeze for StorageCeilings
impl RefUnwindSafe for StorageCeilings
impl Send for StorageCeilings
impl Sync for StorageCeilings
impl Unpin for StorageCeilings
impl UnsafeUnpin for StorageCeilings
impl UnwindSafe for StorageCeilings
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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