[][src]Derive Macro cooked_waker_derive::Wake

#[derive(Wake)]

Create a Wake implementation for a struct that forwards to the struct's field. The struct must have exactly one field, and that field must implement Wake.

In the future this derive will also support enum.