Trait ConfigurableGraph

Source
pub trait ConfigurableGraph: Graph {
    type Config: GraphConfig<Graph = Self>;

    // Required method
    fn from_config(config: Self::Config) -> Result<Self, SourceError>
       where Self: Sized;
}

Required Associated Types§

Source

type Config: GraphConfig<Graph = Self>

Required Methods§

Source

fn from_config(config: Self::Config) -> Result<Self, SourceError>
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§