Trait casper_node::utils::Loadable[][src]

pub trait Loadable: Sized {
    type Error: Debug + Display;
    fn from_path<P: AsRef<Path>>(path: P) -> Result<Self, Self::Error>;
}
Expand description

A value that can be loaded from a file.

Associated Types

Error that can occur when attempting to load.

Required methods

Loads a value from the given input path.

Implementations on Foreign Types

Implementors