Skip to main content

Load

Trait Load 

Source
pub trait Load
where Self: Sized + DeserializeOwned,
{ // Provided method fn load(path: impl Into<PathBuf>) -> Self { ... } }

Provided Methods§

Source

fn load(path: impl Into<PathBuf>) -> Self

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> Load for T