[−][src]Derive Macro cooked_waker_derive::WakeRef
#[derive(WakeRef)]
Create a WakeRef
implementation for a struct
that forwards to the
struct
's field. The struct
must have exactly one field, and that
field must implement WakeRef
.
In the future this derive will also support enum
.