pub trait HeaderTryInto<T>: Sized {
// Required method
fn try_into(self) -> Result<T, ComponentCreationError>;
}Expand description
Workaround for TryFrom,TryInto not being stable.
Required Methods§
fn try_into(self) -> Result<T, ComponentCreationError>
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.