Struct glommio::channels::channel_mesh::Receivers [−][src]
pub struct Receivers<T: Send> { /* fields omitted */ }
Expand description
Receiver side
Implementations
Index of the local executor in the list of consumers.
Number of peers from which message can be received.
Receive a message from the idx-th producer
It returns a GlommioError::IoError
encapsulating a InvalidInput
if the idx is out of the range of available receivers, or the
receiver is a placeholder in the case of full mesh.
See ConnectedReceiver.recv
for how the underlying sender works.
Returns a vec of ConnectedReceiver
s with the id of their upstream
producers.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for Receivers<T>
impl<T> !UnwindSafe for Receivers<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more