Type Alias switch_state_handler_t

Source
pub type switch_state_handler_t = Option<unsafe extern "C" fn(arg1: *mut switch_core_session_t) -> switch_status_t>;

Aliased Type§

pub enum switch_state_handler_t {
    None,
    Some(unsafe extern "C" fn(*mut switch_core_session) -> switch_status_t),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut switch_core_session) -> switch_status_t)

Some value of type T.