Skip to content

Add methods into_raw(), from_raw(), and waker() #13

@ghost

Description

The Task struct should have:

fn into_raw(self) -> *const T;
unsafe fn from_raw(raw: *const T) -> Self;

Both Task and JoinHandle should also have:

fn waker(&self) -> Waker;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions