Skip to main content

TryIntoRanty

Trait TryIntoRanty 

Source
pub trait TryIntoRanty: Sized {
    // Required method
    fn try_into_ranty(self) -> Result<RantyValue, ValueError>;
}
Expand description

Enables fallible conversion into a RantyValue.

Required Methods§

Source

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.

Implementations on Foreign Types§

Source§

impl TryIntoRanty for bool

Source§

impl TryIntoRanty for char

Source§

impl TryIntoRanty for f32

Source§

impl TryIntoRanty for f64

Source§

impl TryIntoRanty for i8

Source§

impl TryIntoRanty for i16

Source§

impl TryIntoRanty for i32

Source§

impl TryIntoRanty for i64

Source§

impl TryIntoRanty for isize

Source§

impl TryIntoRanty for u8

Source§

impl TryIntoRanty for u16

Source§

impl TryIntoRanty for u32

Source§

impl TryIntoRanty for u64

Source§

impl TryIntoRanty for usize

Source§

impl TryIntoRanty for String

Source§

impl TryIntoRanty for CompactString

Source§

impl<'a> TryIntoRanty for &'a str

Source§

impl<T: TryIntoRanty> TryIntoRanty for Option<T>

Source§

impl<T: TryIntoRanty> TryIntoRanty for Vec<T>

Implementors§