Crate dialectic_null
source · [−]Expand description
A “null” backend implementation for the dialectic
crate which can only send and receive the unit type ()
.
This backend is useful primarily only for benchmarking, as it does the absolute minimum amount
of work, so that it is easier to isolate performance issues in Dialectic itself. You cannot
implement most protocols using this backend, as it is limited to transporting the unit type ()
and cannot choose
or offer!
more than a
single choice.
Structs
An error thrown while receiving from or sending to a null channel.
A receiver only capable of receiving the unit type ()
.
A sender only capable of sending the unit type ()
.
Functions
Create a channel for transporting unit values ()
only.