TryIntoSpecImpl

Trait TryIntoSpecImpl 

Source
pub trait TryIntoSpecImpl<T>: Sized + TryInto<T> {
    // Required methods
    exec fn obeys_try_into_spec() -> bool;
    exec fn try_into_spec(self) -> Result<T, Self::Error>;
}

Required Methods§

Source

exec fn obeys_try_into_spec() -> bool

Source

exec fn try_into_spec(self) -> Result<T, Self::Error>

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.

Implementors§

Source§

impl<T, U: TryFrom<T>> TryIntoSpecImpl<U> for T