pub enum Delivery {
Queued,
Handoff(Box<Flow>),
}Expand description
Outcome of pushing a message: either it was queued for later, or it
immediately handed off to a flow that was parked waiting for it — in
which case the caller (see worker::deliver) is responsible for feeding
the value back into that flow’s VM and re-enqueuing it as Ready.
Variants§
Auto Trait Implementations§
impl !RefUnwindSafe for Delivery
impl !UnwindSafe for Delivery
impl Freeze for Delivery
impl Send for Delivery
impl Sync for Delivery
impl Unpin for Delivery
impl UnsafeUnpin for Delivery
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