Trait HeaderTryInto

Source
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§

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<F, T> HeaderTryInto<T> for F
where T: HeaderTryFrom<F>,