struct Packet<'scope, T> {
scope: Option<Arc<ScopeData>>,
result: UnsafeCell<Option<Result<T>>>,
_marker: PhantomData<Option<&'scope ScopeData>>,
}
Fields§
§scope: Option<Arc<ScopeData>>
§result: UnsafeCell<Option<Result<T>>>
§_marker: PhantomData<Option<&'scope ScopeData>>
Trait Implementations§
impl<'scope, T: Sync> Sync for Packet<'scope, T>
Auto Trait Implementations§
impl<'scope, T> !RefUnwindSafe for Packet<'scope, T>
impl<'scope, T> Send for Packet<'scope, T>where T: Send,
impl<'scope, T> Unpin for Packet<'scope, T>where T: Unpin,
impl<'scope, T> !UnwindSafe for Packet<'scope, T>
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