pub trait GraphLoader {
// Required methods
fn load<P: AsRef<Path>>(path: P) -> Result<Graph, IoError>;
fn write<P: AsRef<Path>>(graph: &Graph, path: P) -> Result<(), IoError>;
}Expand description
Trait for graph file loaders and writers
Required Methods§
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.