Skip to main content

ExpectInto

Trait ExpectInto 

Source
pub trait ExpectInto {
    // Provided method
    fn expect_into<Dst: TryFrom<Self>>(self) -> Dst
       where Self: Sized { ... }
}

Provided Methods§

Source

fn expect_into<Dst: TryFrom<Self>>(self) -> Dst
where Self: Sized,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> ExpectInto for T