Skip to main content

InMemoryNodeManagerImplBuilder

Trait InMemoryNodeManagerImplBuilder 

Source
pub trait InMemoryNodeManagerImplBuilder {
    type Impl: InMemoryNodeManagerImpl;

    // Required method
    fn build(
        self,
        context: ServerContext,
        address_space: &mut AddressSpace,
    ) -> Self::Impl;
}
Expand description

Trait for constructing an InMemoryNodeManagerImpl.

Note that this is called with the lock on the AddressSpace held, if you try to lock it again, it will deadlock.

Required Associated Types§

Source

type Impl: InMemoryNodeManagerImpl

Type implementing InMemoryNodeManagerImpl constructed by this builder.

Required Methods§

Source

fn build( self, context: ServerContext, address_space: &mut AddressSpace, ) -> Self::Impl

Build the node manager impl.

Implementors§