TryIntoWithPH

Trait TryIntoWithPH 

Source
pub trait TryIntoWithPH<T, CTP: ConnectionToPlugin>: Sized {
    type Error;

    // Required method
    fn try_into_with_ph(self, ph: &PluginHandler<CTP>) -> Result<T, Self::Error>;
}
Expand description

The reflexive trait of TryFromWithPH.

Required Associated Types§

Required Methods§

Source

fn try_into_with_ph(self, ph: &PluginHandler<CTP>) -> 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.

Implementations on Foreign Types§

Source§

impl<CTP: ConnectionToPlugin, T: TryFromWithPH<PluginVal, CTP>> TryIntoWithPH<T, CTP> for PluginVal

Source§

type Error = <T as TryFromWithPH<PluginVal, CTP>>::Error

Source§

fn try_into_with_ph(self, ph: &PluginHandler<CTP>) -> Result<T, Self::Error>

Implementors§