Trait MatchedReceiveVec

Source
pub trait MatchedReceiveVec {
    // Required method
    fn matched_receive_vec<Msg>(self) -> (Vec<Msg>, Status)
       where Msg: Equivalence;
}
Expand description

Receive a previously probed message containing multiple instances of type Msg into a Vec.

§Standard section(s)

3.8.3

Required Methods§

Source

fn matched_receive_vec<Msg>(self) -> (Vec<Msg>, Status)
where Msg: Equivalence,

Receives the message &self which contains multiple instances of type Msg into a Vec.

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.

Implementations on Foreign Types§

Source§

impl MatchedReceiveVec for (Message, Status)

Source§

fn matched_receive_vec<Msg>(self) -> (Vec<Msg>, Status)
where Msg: Equivalence,

Implementors§