pub struct BlockMetadata {
pub size: u64,
pub cluster_key: Option<i64>,
pub block_type: V2BlockType,
pub access_pattern: AccessPattern,
pub priority: u8,
}Expand description
V2-specific block metadata for optimization
Fields§
§size: u64Block size in bytes
cluster_key: Option<i64>Cluster affinity for this block
block_type: V2BlockTypeBlock type classification
access_pattern: AccessPatternAccess pattern statistics
priority: u8Priority for checkpointing (higher = more important)
Trait Implementations§
Source§impl Clone for BlockMetadata
impl Clone for BlockMetadata
Source§fn clone(&self) -> BlockMetadata
fn clone(&self) -> BlockMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BlockMetadata
impl RefUnwindSafe for BlockMetadata
impl Send for BlockMetadata
impl Sync for BlockMetadata
impl Unpin for BlockMetadata
impl UnwindSafe for BlockMetadata
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