pub struct StorageParams {
pub dtype: Dtype,
pub block_size: usize,
pub io_profile: IoProfile,
}Expand description
On-disk vector storage parameters.
Fields§
§dtype: DtypeElement type for exact vectors on disk (controls read volume/precision).
block_size: usizeDisk block size in bytes. Large by default (64 KiB) so each seek on a spinning disk amortizes over many co-located vectors.
io_profile: IoProfileDevice profile controlling I/O strategy.
Implementations§
Trait Implementations§
Source§impl Clone for StorageParams
impl Clone for StorageParams
impl Copy for StorageParams
Source§impl Debug for StorageParams
impl Debug for StorageParams
Source§impl Default for StorageParams
impl Default for StorageParams
Source§impl<'de> Deserialize<'de> for StorageParams
impl<'de> Deserialize<'de> for StorageParams
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
Source§impl PartialEq for StorageParams
impl PartialEq for StorageParams
Source§impl Serialize for StorageParams
impl Serialize for StorageParams
impl StructuralPartialEq for StorageParams
Auto Trait Implementations§
impl Freeze for StorageParams
impl RefUnwindSafe for StorageParams
impl Send for StorageParams
impl Sync for StorageParams
impl Unpin for StorageParams
impl UnsafeUnpin for StorageParams
impl UnwindSafe for StorageParams
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