connected

Function connected 

Source
pub fn connected<M, D>(delivery: D) -> MpcParty<M, D>
where M: ProtocolMsg + 'static, D: Stream<Item = Result<Incoming<M>, D::Error>> + Unpin + Sink<Outgoing<M>>,
Expand description

Construct an MpcParty that can be used to carry out MPC protocol

Accepts a channels with incoming and outgoing messages.

Alias to MpcParty::connected