1.36.0[−][src]Struct futures::task::RawWakerVTable
A virtual function pointer table (vtable) that specifies the behavior
of a RawWaker
.
The pointer passed to all functions inside the vtable is the data
pointer
from the enclosing RawWaker
object.
The functions inside this struct are only intended be called on the data
pointer of a properly constructed RawWaker
object from inside the
RawWaker
implementation. Calling one of the contained functions using
any other data
pointer will cause undefined behavior.
Methods
impl RawWakerVTable
[src][−]
pub const fn new(
clone: unsafe fn(*const ()) -> RawWaker,
wake: unsafe fn(*const ()),
wake_by_ref: unsafe fn(*const ()),
drop: unsafe fn(*const ())
) -> RawWakerVTable
[src][+]
clone: unsafe fn(*const ()) -> RawWaker,
wake: unsafe fn(*const ()),
wake_by_ref: unsafe fn(*const ()),
drop: unsafe fn(*const ())
) -> RawWakerVTable
Trait Implementations
impl PartialEq<RawWakerVTable> for RawWakerVTable
[src][+]
impl Copy for RawWakerVTable
[src]
impl Clone for RawWakerVTable
[src][+]
impl Debug for RawWakerVTable
[src][+]
Auto Trait Implementations
impl Send for RawWakerVTable
impl Sync for RawWakerVTable
Blanket Implementations
impl<T> From for T
[src][+]
impl<T, U> Into for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T> Borrow for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,