pub struct Delivery {
pub sub_id: SubId,
pub envelope: Envelope,
}Expand description
One fan-out of an Envelope to one subscription.
sub_id is here because an adapter may hold many subscriptions and
needs to know which one matched.
Fields§
§sub_id: SubId§envelope: EnvelopeTrait Implementations§
Auto Trait Implementations§
impl !Freeze for Delivery
impl RefUnwindSafe for Delivery
impl Send for Delivery
impl Sync for Delivery
impl Unpin for Delivery
impl UnwindSafe 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