Type Alias async_receiver_t

Source
pub type async_receiver_t = async_receiver;

Aliased Type§

struct async_receiver_t {
    pub state: async_state_t,
    pub handler: Option<unsafe extern "C" fn(*mut async_dispatcher, *mut async_receiver, i32, *const [u8; 32])>,
}

Fields§

§state: async_state_t§handler: Option<unsafe extern "C" fn(*mut async_dispatcher, *mut async_receiver, i32, *const [u8; 32])>

Trait Implementations

Source§

impl Clone for async_receiver

Source§

fn clone(&self) -> async_receiver

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for async_receiver

Source§

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

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

impl Default for async_receiver

Source§

fn default() -> async_receiver

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

impl Copy for async_receiver