Enum TestWireIO

Source
pub enum TestWireIO<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> {
Show 14 variants None, AddOpIO(AddOpIO), ConstantOpIO(ConstantOpIO<T>), DoubleOutOpIO(DoubleOutOpIO), FailingOperatorIO(FailingOperatorIO), IncrementOperatorIO(IncrementOperatorIO), Merge2OpIO(Merge2OpIO), MultiplyOpIO(MultiplyOpIO), NoOpOperatorIO(NoOpOperatorIO), SingleChannelPassthroughOperatorIO(SingleChannelPassthroughOperatorIO<T>), SingleValOpIO(SingleValOpIO), SplitAndDoubleOpIO(SplitAndDoubleOpIO), StreamyOperatorIO(StreamyOperatorIO<T>), SinkOperatorIO(SinkOperatorIO<T>),
}

Variants§

§

None

§

AddOpIO(AddOpIO)

§

ConstantOpIO(ConstantOpIO<T>)

§

DoubleOutOpIO(DoubleOutOpIO)

§

FailingOperatorIO(FailingOperatorIO)

§

IncrementOperatorIO(IncrementOperatorIO)

§

Merge2OpIO(Merge2OpIO)

§

MultiplyOpIO(MultiplyOpIO)

§

NoOpOperatorIO(NoOpOperatorIO)

§

SingleChannelPassthroughOperatorIO(SingleChannelPassthroughOperatorIO<T>)

§

SingleValOpIO(SingleValOpIO)

§

SplitAndDoubleOpIO(SplitAndDoubleOpIO)

§

StreamyOperatorIO(StreamyOperatorIO<T>)

§

SinkOperatorIO(SinkOperatorIO<T>)

Implementations§

Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> TestWireIO<T>

Source

pub fn active_output_port(&self) -> Option<usize>

Source

pub fn port_try_into_dynamic<__T>(&self) -> Result<__T, NetworkError>
where Self: PortTryInto0<__T, Error = NetworkError> + PortTryInto1<__T, Error = NetworkError> + PortTryInto2<__T, Error = NetworkError> + PortTryInto3<__T, Error = NetworkError>,

Combines active_output_port() + the correct port_try_intoN() in one shot.

Trait Implementations§

Source§

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

Source§

fn clone(&self) -> TestWireIO<T>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T: Debug + Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Debug for TestWireIO<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Default for TestWireIO<T>

Source§

fn default() -> TestWireIO<T>

Returns the “default value” for a type. Read more
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Operator<TestWireIO<T>> for AddOp

Source§

fn opcode(&self) -> Arc<dyn OpCode>

Returns the operation code, which can be used to inform specialized handling or diagnostics.
Source§

fn input_count(&self) -> usize

How many actual inputs does this operator need?
Source§

fn output_count(&self) -> usize

How many outputs does this operator produce?
Source§

fn input_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the input port of one operator is compatible with the data flowing into it from the output port of another operator
Source§

fn output_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the output port of one operator is compatible with the data required by the input port of its downstream operator
Source§

fn input_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this input port needs an output connection
Source§

fn output_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this output port needs an input connection
Source§

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, input: [Option<&'life1 TestWireIO<T>>; 4], output: &'life2 mut [Option<TestWireIO<T>>; 4], ) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

The big 4×4 method: You receive up to 4 inputs and must fill up to 4 outputs.
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Operator<TestWireIO<T>> for ConstantOp<T>

Source§

fn opcode(&self) -> Arc<dyn OpCode>

Returns the operation code, which can be used to inform specialized handling or diagnostics.
Source§

fn input_count(&self) -> usize

How many actual inputs does this operator need?
Source§

fn output_count(&self) -> usize

How many outputs does this operator produce?
Source§

fn input_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the input port of one operator is compatible with the data flowing into it from the output port of another operator
Source§

fn output_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the output port of one operator is compatible with the data required by the input port of its downstream operator
Source§

fn input_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this input port needs an output connection
Source§

fn output_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this output port needs an input connection
Source§

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, input: [Option<&'life1 TestWireIO<T>>; 4], output: &'life2 mut [Option<TestWireIO<T>>; 4], ) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

The big 4×4 method: You receive up to 4 inputs and must fill up to 4 outputs.
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Operator<TestWireIO<T>> for DoubleOutOp

Source§

fn opcode(&self) -> Arc<dyn OpCode>

Returns the operation code, which can be used to inform specialized handling or diagnostics.
Source§

fn input_count(&self) -> usize

How many actual inputs does this operator need?
Source§

fn output_count(&self) -> usize

How many outputs does this operator produce?
Source§

fn input_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the input port of one operator is compatible with the data flowing into it from the output port of another operator
Source§

fn output_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the output port of one operator is compatible with the data required by the input port of its downstream operator
Source§

fn input_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this input port needs an output connection
Source§

fn output_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this output port needs an input connection
Source§

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, input: [Option<&'life1 TestWireIO<T>>; 4], output: &'life2 mut [Option<TestWireIO<T>>; 4], ) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

The big 4×4 method: You receive up to 4 inputs and must fill up to 4 outputs.
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Operator<TestWireIO<T>> for FailingOperator

Source§

fn opcode(&self) -> Arc<dyn OpCode>

Returns the operation code, which can be used to inform specialized handling or diagnostics.
Source§

fn input_count(&self) -> usize

How many actual inputs does this operator need?
Source§

fn output_count(&self) -> usize

How many outputs does this operator produce?
Source§

fn input_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the input port of one operator is compatible with the data flowing into it from the output port of another operator
Source§

fn output_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the output port of one operator is compatible with the data required by the input port of its downstream operator
Source§

fn input_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this input port needs an output connection
Source§

fn output_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this output port needs an input connection
Source§

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, input: [Option<&'life1 TestWireIO<T>>; 4], output: &'life2 mut [Option<TestWireIO<T>>; 4], ) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

The big 4×4 method: You receive up to 4 inputs and must fill up to 4 outputs.
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Operator<TestWireIO<T>> for IncrementOperator

Source§

fn opcode(&self) -> Arc<dyn OpCode>

Returns the operation code, which can be used to inform specialized handling or diagnostics.
Source§

fn input_count(&self) -> usize

How many actual inputs does this operator need?
Source§

fn output_count(&self) -> usize

How many outputs does this operator produce?
Source§

fn input_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the input port of one operator is compatible with the data flowing into it from the output port of another operator
Source§

fn output_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the output port of one operator is compatible with the data required by the input port of its downstream operator
Source§

fn input_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this input port needs an output connection
Source§

fn output_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this output port needs an input connection
Source§

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, input: [Option<&'life1 TestWireIO<T>>; 4], output: &'life2 mut [Option<TestWireIO<T>>; 4], ) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

The big 4×4 method: You receive up to 4 inputs and must fill up to 4 outputs.
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Operator<TestWireIO<T>> for Merge2Op

Source§

fn opcode(&self) -> Arc<dyn OpCode>

Returns the operation code, which can be used to inform specialized handling or diagnostics.
Source§

fn input_count(&self) -> usize

How many actual inputs does this operator need?
Source§

fn output_count(&self) -> usize

How many outputs does this operator produce?
Source§

fn input_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the input port of one operator is compatible with the data flowing into it from the output port of another operator
Source§

fn output_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the output port of one operator is compatible with the data required by the input port of its downstream operator
Source§

fn input_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this input port needs an output connection
Source§

fn output_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this output port needs an input connection
Source§

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, input: [Option<&'life1 TestWireIO<T>>; 4], output: &'life2 mut [Option<TestWireIO<T>>; 4], ) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

The big 4×4 method: You receive up to 4 inputs and must fill up to 4 outputs.
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Operator<TestWireIO<T>> for MultiplyOp

Source§

fn opcode(&self) -> Arc<dyn OpCode>

Returns the operation code, which can be used to inform specialized handling or diagnostics.
Source§

fn input_count(&self) -> usize

How many actual inputs does this operator need?
Source§

fn output_count(&self) -> usize

How many outputs does this operator produce?
Source§

fn input_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the input port of one operator is compatible with the data flowing into it from the output port of another operator
Source§

fn output_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the output port of one operator is compatible with the data required by the input port of its downstream operator
Source§

fn input_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this input port needs an output connection
Source§

fn output_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this output port needs an input connection
Source§

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, input: [Option<&'life1 TestWireIO<T>>; 4], output: &'life2 mut [Option<TestWireIO<T>>; 4], ) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

The big 4×4 method: You receive up to 4 inputs and must fill up to 4 outputs.
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Operator<TestWireIO<T>> for NoOpOperator

Source§

fn opcode(&self) -> Arc<dyn OpCode>

Returns the operation code, which can be used to inform specialized handling or diagnostics.
Source§

fn input_count(&self) -> usize

How many actual inputs does this operator need?
Source§

fn output_count(&self) -> usize

How many outputs does this operator produce?
Source§

fn input_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the input port of one operator is compatible with the data flowing into it from the output port of another operator
Source§

fn output_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the output port of one operator is compatible with the data required by the input port of its downstream operator
Source§

fn input_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this input port needs an output connection
Source§

fn output_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this output port needs an input connection
Source§

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, input: [Option<&'life1 TestWireIO<T>>; 4], output: &'life2 mut [Option<TestWireIO<T>>; 4], ) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

The big 4×4 method: You receive up to 4 inputs and must fill up to 4 outputs.
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Operator<TestWireIO<T>> for SingleChannelPassthroughOperator<T>

Source§

fn opcode(&self) -> Arc<dyn OpCode>

Returns the operation code, which can be used to inform specialized handling or diagnostics.
Source§

fn input_count(&self) -> usize

How many actual inputs does this operator need?
Source§

fn output_count(&self) -> usize

How many outputs does this operator produce?
Source§

fn input_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the input port of one operator is compatible with the data flowing into it from the output port of another operator
Source§

fn output_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the output port of one operator is compatible with the data required by the input port of its downstream operator
Source§

fn input_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this input port needs an output connection
Source§

fn output_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this output port needs an input connection
Source§

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, input: [Option<&'life1 TestWireIO<T>>; 4], output: &'life2 mut [Option<TestWireIO<T>>; 4], ) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

The big 4×4 method: You receive up to 4 inputs and must fill up to 4 outputs.
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Operator<TestWireIO<T>> for SingleValOp

Source§

fn opcode(&self) -> Arc<dyn OpCode>

Returns the operation code, which can be used to inform specialized handling or diagnostics.
Source§

fn input_count(&self) -> usize

How many actual inputs does this operator need?
Source§

fn output_count(&self) -> usize

How many outputs does this operator produce?
Source§

fn input_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the input port of one operator is compatible with the data flowing into it from the output port of another operator
Source§

fn output_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the output port of one operator is compatible with the data required by the input port of its downstream operator
Source§

fn input_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this input port needs an output connection
Source§

fn output_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this output port needs an input connection
Source§

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, input: [Option<&'life1 TestWireIO<T>>; 4], output: &'life2 mut [Option<TestWireIO<T>>; 4], ) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

The big 4×4 method: You receive up to 4 inputs and must fill up to 4 outputs.
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Operator<TestWireIO<T>> for SinkOperator<T>

Source§

fn opcode(&self) -> Arc<dyn OpCode>

Returns the operation code, which can be used to inform specialized handling or diagnostics.
Source§

fn input_count(&self) -> usize

How many actual inputs does this operator need?
Source§

fn output_count(&self) -> usize

How many outputs does this operator produce?
Source§

fn input_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the input port of one operator is compatible with the data flowing into it from the output port of another operator
Source§

fn output_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the output port of one operator is compatible with the data required by the input port of its downstream operator
Source§

fn input_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this input port needs an output connection
Source§

fn output_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this output port needs an input connection
Source§

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, input: [Option<&'life1 TestWireIO<T>>; 4], output: &'life2 mut [Option<TestWireIO<T>>; 4], ) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

The big 4×4 method: You receive up to 4 inputs and must fill up to 4 outputs.
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Operator<TestWireIO<T>> for SplitAndDoubleOp

Source§

fn opcode(&self) -> Arc<dyn OpCode>

Returns the operation code, which can be used to inform specialized handling or diagnostics.
Source§

fn input_count(&self) -> usize

How many actual inputs does this operator need?
Source§

fn output_count(&self) -> usize

How many outputs does this operator produce?
Source§

fn input_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the input port of one operator is compatible with the data flowing into it from the output port of another operator
Source§

fn output_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the output port of one operator is compatible with the data required by the input port of its downstream operator
Source§

fn input_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this input port needs an output connection
Source§

fn output_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this output port needs an input connection
Source§

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, input: [Option<&'life1 TestWireIO<T>>; 4], output: &'life2 mut [Option<TestWireIO<T>>; 4], ) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

The big 4×4 method: You receive up to 4 inputs and must fill up to 4 outputs.
Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Operator<TestWireIO<T>> for StreamyOperator<T>

Source§

fn opcode(&self) -> Arc<dyn OpCode>

Returns the operation code, which can be used to inform specialized handling or diagnostics.
Source§

fn input_count(&self) -> usize

How many actual inputs does this operator need?
Source§

fn output_count(&self) -> usize

How many outputs does this operator produce?
Source§

fn input_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the input port of one operator is compatible with the data flowing into it from the output port of another operator
Source§

fn output_port_type_str(&self, port: usize) -> Option<&'static str>

used by the network! dag compiler to verify that the output port of one operator is compatible with the data required by the input port of its downstream operator
Source§

fn input_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this input port needs an output connection
Source§

fn output_port_connection_required(&self, port: usize) -> bool

used by the network! dag compiler to verify that this output port needs an input connection
Source§

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, input: [Option<&'life1 TestWireIO<T>>; 4], output: &'life2 mut [Option<TestWireIO<T>>; 4], ) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

The big 4×4 method: You receive up to 4 inputs and must fill up to 4 outputs.
Source§

impl<T: PartialEq + Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> PartialEq for TestWireIO<T>

Source§

fn eq(&self, other: &TestWireIO<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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

Source§

type Error = NetworkError

Source§

fn port_try_into0(self) -> Result<X, NetworkError>

Convert self into a T, using port as needed.
Source§

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

Source§

type Error = NetworkError

Source§

fn port_try_into1(self) -> Result<X, NetworkError>

Convert self into a T, using port as needed.
Source§

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

Source§

type Error = NetworkError

Source§

fn port_try_into2(self) -> Result<X, NetworkError>

Convert self into a T, using port as needed.
Source§

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

Source§

type Error = NetworkError

Source§

fn port_try_into3(self) -> Result<X, NetworkError>

Convert self into a T, using port as needed.
Source§

impl<T: Eq + Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> Eq for TestWireIO<T>

Source§

impl<T: Zero + Display + Copy + Debug + Send + Sync + PartialEq + Eq> StructuralPartialEq for TestWireIO<T>

Auto Trait Implementations§

§

impl<T> Freeze for TestWireIO<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for TestWireIO<T>
where T: RefUnwindSafe,

§

impl<T> Send for TestWireIO<T>

§

impl<T> Sync for TestWireIO<T>

§

impl<T> Unpin for TestWireIO<T>
where T: Unpin,

§

impl<T> UnwindSafe for TestWireIO<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Erasable for T

Source§

const ACK_1_1_0: bool = true

Whether this implementor has acknowledged the 1.1.0 update to unerase’s documented implementation requirements. Read more
Source§

unsafe fn unerase(this: NonNull<Erased>) -> NonNull<T>

Unerase this erased pointer. Read more
Source§

fn erase(this: NonNull<Self>) -> NonNull<Erased>

Turn this erasable pointer into an erased pointer. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more