Type Alias async_task_t

Source
pub type async_task_t = async_task;

Aliased Type§

struct async_task_t {
    pub state: async_state_t,
    pub handler: Option<unsafe extern "C" fn(_: *mut async_dispatcher, _: *mut async_task, _: i32)>,
    pub deadline: i64,
}

Fields§

§state: async_state_t§handler: Option<unsafe extern "C" fn(_: *mut async_dispatcher, _: *mut async_task, _: i32)>§deadline: i64

Trait Implementations

Source§

impl Debug for async_task

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for async_task

Source§

fn default() -> Self

Returns the “default value” for a type. Read more