PortTryFrom2

Trait PortTryFrom2 

Source
pub trait PortTryFrom2<Src>: Sized {
    type Error;

    // Required method
    fn port_try_from2(src: Src) -> Result<Self, Self::Error>;
}
Expand description

The dual trait: from a source type Src into Self, given port 0.

Required Associated Types§

Required Methods§

Source

fn port_try_from2(src: Src) -> Result<Self, 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 PortTryFrom2<i32> for IncrementOperatorIO

Source§

impl PortTryFrom2<i32> for QuadToQuadOpIO

Source§

impl PortTryFrom2<i32> for TriToQuadOpIO

Source§

impl PortTryFrom2<i32> for TriToSingleOpIO

Source§

impl PortTryFrom2<()> for AddOpIO

Source§

impl PortTryFrom2<()> for DoubleOutOpIO

Source§

impl PortTryFrom2<()> for FailingOperatorIO

Source§

impl PortTryFrom2<()> for Merge2OpIO

Source§

impl PortTryFrom2<()> for MultiplyOpIO

Source§

impl PortTryFrom2<()> for NoOpOperatorIO

Source§

impl PortTryFrom2<()> for SingleToTriOpIO

Source§

impl PortTryFrom2<()> for SingleValOpIO

Source§

impl PortTryFrom2<()> for SplitAndDoubleOpIO

Source§

impl<T> PortTryFrom2<()> for ConstantOpIO<T>
where T: Display + Copy + Debug + Send + Sync + PartialEq,

Source§

impl<T> PortTryFrom2<()> for DoubleToTriOpIO<T>
where T: Mul<Output = T> + Add<Output = T> + Copy + Sub<Output = T> + Display + Debug + Send + Sync,

Source§

impl<T> PortTryFrom2<()> for SingleChannelPassthroughOperatorIO<T>
where T: Copy + Debug + Send + Sync,

Source§

impl<T> PortTryFrom2<()> for StreamyOperatorIO<T>
where T: PartialEq + Eq + Send + Sync + Debug + Copy + Zero,

Source§

impl<T> PortTryFrom2<T> for SinkOperatorIO<T>
where T: Send + Sync + Debug + Copy,

Source§

impl<T, U> PortTryFrom2<i32> for DoubleToTriTwoGenericsOpIO<T, U>
where T: Add<Output = T> + Sub<Output = T> + Copy + Debug + Send + Sync + Display + Mul<Output = T>, U: Copy + Display + Mul<Output = U> + Add<Output = U> + Sub<Output = U> + Debug + Send + Sync,