Skip to main content

IoLoad

Trait IoLoad 

Source
pub trait IoLoad: Sized + Load {
    // Provided method
    fn load<P>(path: P) -> Result<Self, IoError>
       where P: AsRef<Path> { ... }
}

Provided Methods§

Source

fn load<P>(path: P) -> Result<Self, IoError>
where P: AsRef<Path>,

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§

Source§

impl<T> IoLoad for T
where T: Load,