pub trait Value: Sized {
type Inner: Cast;
const SENSITIVE: bool = false;
// Required methods
fn inner(&self) -> &Self::Inner;
fn try_from_inner(inner: Self::Inner) -> Result<Self, impl Display>;
}Provided Associated Constants§
Required Associated Types§
Required Methods§
fn inner(&self) -> &Self::Inner
fn try_from_inner(inner: Self::Inner) -> Result<Self, impl Display>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".