pub struct GraphStoreBuilder { /* private fields */ }Expand description
Builder for creating kernel graph stores.
Implementations§
Source§impl GraphStoreBuilder
impl GraphStoreBuilder
Sourcepub fn with_coherence_config(self, config: CoherenceConfig) -> Self
pub fn with_coherence_config(self, config: CoherenceConfig) -> Self
Sets the coherence configuration.
Sourcepub fn with_proof_policy(self, policy: ProofPolicy) -> Self
pub fn with_proof_policy(self, policy: ProofPolicy) -> Self
Sets the proof policy.
Sourcepub fn with_partitions(self, count: u32) -> Self
pub fn with_partitions(self, count: u32) -> Self
Sets the initial partition count.
Sourcepub fn build<B: MemoryBacking>(
self,
node_backing: B,
edge_backing: B,
witness_backing: B,
node_handle: RegionHandle,
edge_handle: RegionHandle,
witness_handle: RegionHandle,
store_id: u32,
) -> Result<KernelGraphStore<B>>
pub fn build<B: MemoryBacking>( self, node_backing: B, edge_backing: B, witness_backing: B, node_handle: RegionHandle, edge_handle: RegionHandle, witness_handle: RegionHandle, store_id: u32, ) -> Result<KernelGraphStore<B>>
Builds the kernel graph store.
Auto Trait Implementations§
impl Freeze for GraphStoreBuilder
impl RefUnwindSafe for GraphStoreBuilder
impl Send for GraphStoreBuilder
impl Sync for GraphStoreBuilder
impl Unpin for GraphStoreBuilder
impl UnsafeUnpin for GraphStoreBuilder
impl UnwindSafe for GraphStoreBuilder
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