#[repr(C)]pub struct switch_state_handler_table {Show 14 fields
pub on_init: switch_state_handler_t,
pub on_routing: switch_state_handler_t,
pub on_execute: switch_state_handler_t,
pub on_hangup: switch_state_handler_t,
pub on_exchange_media: switch_state_handler_t,
pub on_soft_execute: switch_state_handler_t,
pub on_consume_media: switch_state_handler_t,
pub on_hibernate: switch_state_handler_t,
pub on_reset: switch_state_handler_t,
pub on_park: switch_state_handler_t,
pub on_reporting: switch_state_handler_t,
pub on_destroy: switch_state_handler_t,
pub flags: c_int,
pub padding: [*mut c_void; 10],
}Fields§
§on_init: switch_state_handler_t§on_routing: switch_state_handler_t§on_execute: switch_state_handler_t§on_hangup: switch_state_handler_t§on_exchange_media: switch_state_handler_t§on_soft_execute: switch_state_handler_t§on_consume_media: switch_state_handler_t§on_hibernate: switch_state_handler_t§on_reset: switch_state_handler_t§on_park: switch_state_handler_t§on_reporting: switch_state_handler_t§on_destroy: switch_state_handler_t§flags: c_int§padding: [*mut c_void; 10]Trait Implementations§
Source§impl Clone for switch_state_handler_table
impl Clone for switch_state_handler_table
Source§fn clone(&self) -> switch_state_handler_table
fn clone(&self) -> switch_state_handler_table
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for switch_state_handler_table
impl Debug for switch_state_handler_table
Source§impl Default for switch_state_handler_table
impl Default for switch_state_handler_table
impl Copy for switch_state_handler_table
Auto Trait Implementations§
impl Freeze for switch_state_handler_table
impl RefUnwindSafe for switch_state_handler_table
impl !Send for switch_state_handler_table
impl !Sync for switch_state_handler_table
impl Unpin for switch_state_handler_table
impl UnsafeUnpin for switch_state_handler_table
impl UnwindSafe for switch_state_handler_table
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more