pub trait ExpectInto {
// Provided method
fn expect_into<Dst: TryFrom<Self>>(self) -> Dst
where Self: Sized { ... }
}Provided Methods§
fn expect_into<Dst: TryFrom<Self>>(self) -> Dstwhere
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".