pub trait TryIntoRanty: Sized {
// Required method
fn try_into_ranty(self) -> Result<RantyValue, ValueError>;
}Expand description
Enables fallible conversion into a RantyValue.
Required Methods§
Sourcefn try_into_ranty(self) -> Result<RantyValue, ValueError>
fn try_into_ranty(self) -> Result<RantyValue, ValueError>
Attempts to convert to a RantyValue.
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.