pub enum Correlated<A> {
Answer(A),
Uncorrelated,
Push,
}Expand description
What a frame read while a request awaits its answer is, as the caller’s matcher reads it.
Variants§
Answer(A)
The answer awaited, which ends the wait.
An answer to another request, which nobody awaits any more, such as one that arrived after its request timed out. Dropped.
Push
Not an answer: kept, and yielded by the stream afterwards, if its
Mode yields it.
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more