pub struct NoSends;Expand description
Send effects containing no communications or interpreter requests.
A behavior layer that adds an event lane but emits nothing of its own uses
this named value rather than an ambiguous ().
Trait Implementations§
impl Copy for NoSends
impl Eq for NoSends
Source§impl<Interpreter: SendInterpreter, RootEvent, Path> InterpretSends<Interpreter, RootEvent, Path> for NoSends
impl<Interpreter: SendInterpreter, RootEvent, Path> InterpretSends<Interpreter, RootEvent, Path> for NoSends
Source§fn interpret(
self,
_: &mut Interpreter,
) -> impl Future<Output = Result<(), Interpreter::Error>> + Send
fn interpret( self, _: &mut Interpreter, ) -> impl Future<Output = Result<(), Interpreter::Error>> + Send
Interpret every value in this product in its defined structural order.
The returned future completes each effect before beginning the next, so
an asynchronous delivery can wait for bounded-mailbox capacity without
reordering later effects or converting pressure into rejection. Read more
Source§impl SendEffects for NoSends
impl SendEffects for NoSends
impl<Event> SendsFor<Event> for NoSends
impl StructuralPartialEq for NoSends
Auto Trait Implementations§
impl Freeze for NoSends
impl RefUnwindSafe for NoSends
impl Send for NoSends
impl Sync for NoSends
impl Unpin for NoSends
impl UnsafeUnpin for NoSends
impl UnwindSafe for NoSends
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