pub struct Envelope {
pub provider: usize,
pub notification: Notification,
/* private fields */
}Expand description
消费端唯一拥有的待投递消息。
Fields§
§provider: usize启动期冻结的 provider 目录索引。
notification: Notification已施加文本边界、由 worker 独占投递责任的通知。
Trait Implementations§
Auto Trait Implementations§
impl Forget for Envelope
impl Freeze for Envelope
impl Move for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnsafeUnpin for Envelope
impl UnwindSafe for Envelope
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