PortTryInto1

Trait PortTryInto1 

Source
pub trait PortTryInto1<T> {
    type Error;

    // Required method
    fn port_try_into1(self) -> Result<T, Self::Error>;
}
Expand description

A local trait for “port-aware” conversions

Required Associated Types§

Required Methods§

Source

fn port_try_into1(self) -> Result<T, Self::Error>

Convert self into a T, using port as needed.

Implementors§

Source§

impl PortTryInto1<i32> for DoubleOutOpIO

Source§

impl PortTryInto1<i32> for IncrementOperatorIO

Source§

impl PortTryInto1<i32> for QuadToQuadOpIO

Source§

impl PortTryInto1<i32> for SingleToTriOpIO

Source§

impl PortTryInto1<i32> for SplitAndDoubleOpIO

Source§

impl PortTryInto1<i32> for TriToQuadOpIO

Source§

impl PortTryInto1<()> for AddOpIO

Source§

impl PortTryInto1<()> for FailingOperatorIO

Source§

impl PortTryInto1<()> for Merge2OpIO

Source§

impl PortTryInto1<()> for MultiplyOpIO

Source§

impl PortTryInto1<()> for NoOpOperatorIO

Source§

impl PortTryInto1<()> for SingleValOpIO

Source§

impl PortTryInto1<()> for TriToSingleOpIO

Source§

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

Source§

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

Source§

impl<T> PortTryInto1<()> for SinkOperatorIO<T>
where T: Send + Sync + Debug + Copy,

Source§

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

Source§

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

Source§

impl<T, U> PortTryInto1<U> 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,

Source§

impl<T, X> PortTryInto1<X> for TestWireIO<T>
where T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq, X: Clone,