add more traits while we can
This commit is contained in:
committed by
Jeff Washington (jwash)
parent
9195c1ffe6
commit
8f7a9e8f0d
@ -15,13 +15,14 @@ use tempfile::TempDir;
|
||||
pub type MaxSearch = u8;
|
||||
pub type RefCount = u64;
|
||||
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct BucketMapKeyValue<T> {
|
||||
pub pubkey: Pubkey,
|
||||
pub ref_count: RefCount,
|
||||
pub slot_list: Vec<T>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default)]
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct BucketMapConfig {
|
||||
pub max_buckets: usize,
|
||||
pub drives: Option<Vec<PathBuf>>,
|
||||
|
Reference in New Issue
Block a user