Trait SpecTryFrom

Source
pub trait SpecTryFrom<T>: Sized {
    type Error;
}
Expand description

Spec version of TryFrom.

Required Associated Types§

Source

type Error

The type returned in the event of a conversion 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§