Struct leak_playground_tokio::task::Payload
source · struct Payload {
ptr: NonNull<()>,
}
Fields§
§ptr: NonNull<()>
Implementations§
source§impl Payload
impl Payload
unsafe fn new_unchecked<T>(v: T) -> Payload
unsafe fn get_unchecked<T>(self) -> T
Trait Implementations§
Auto Trait Implementations§
impl Forget for Payload
impl Freeze for Payload
impl RefUnwindSafe for Payload
impl Unpin for Payload
impl UnwindSafe for Payload
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