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§
Sourcefn matched_receive_vec<Msg>(self) -> (Vec<Msg>, Status)where
Msg: Equivalence,
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.