pub trait ConfigParamWrapper<T> {
// Required methods
fn into_inner(self) -> T;
fn wrap_inner(inner: &T) -> &Self;
}Expand description
Trait to customize config param representation.
Required Methods§
Sourcefn into_inner(self) -> T
fn into_inner(self) -> T
Converts this wrapper into an underlying type.
Sourcefn wrap_inner(inner: &T) -> &Self
fn wrap_inner(inner: &T) -> &Self
Converts an inner type into a wrapper.
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.