[][src]Trait splinter::node_registry::RwNodeRegistry

pub trait RwNodeRegistry: NodeRegistryWriter + NodeRegistryReader {
    fn clone_box(&self) -> Box<dyn RwNodeRegistry>;
}

Provides a marker trait for a clonable, readable and writable Node Registry.

Required methods

fn clone_box(&self) -> Box<dyn RwNodeRegistry>

Clone implementation for Box. The implementation of Clone for NodeRegistry calls this method.

Example

fn clone_box(&self) -> Box { Box::new(Clone::clone(self)) }

Loading content...

Implementors

impl RwNodeRegistry for NoOpNodeRegistry[src]

impl RwNodeRegistry for UnifiedNodeRegistry[src]

impl RwNodeRegistry for YamlNodeRegistry[src]

Loading content...