pub struct Envelope<D, P> {
pub destination: D,
pub payload: P,
}Fields§
§destination: D§payload: PAuto Trait Implementations§
impl<D, P> Freeze for Envelope<D, P>
impl<D, P> RefUnwindSafe for Envelope<D, P>where
D: RefUnwindSafe,
P: RefUnwindSafe,
impl<D, P> Send for Envelope<D, P>
impl<D, P> Sync for Envelope<D, P>
impl<D, P> Unpin for Envelope<D, P>
impl<D, P> UnwindSafe for Envelope<D, P>where
D: UnwindSafe,
P: UnwindSafe,
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