Skip to main content

switch_loadable_module_interface

Struct switch_loadable_module_interface 

Source
#[repr(C)]
pub struct switch_loadable_module_interface {
Show 21 fields pub module_name: *const c_char, pub endpoint_interface: *mut switch_endpoint_interface_t, pub timer_interface: *mut switch_timer_interface_t, pub dialplan_interface: *mut switch_dialplan_interface_t, pub codec_interface: *mut switch_codec_interface_t, pub application_interface: *mut switch_application_interface_t, pub chat_application_interface: *mut switch_chat_application_interface_t, pub api_interface: *mut switch_api_interface_t, pub json_api_interface: *mut switch_json_api_interface_t, pub file_interface: *mut switch_file_interface_t, pub speech_interface: *mut switch_speech_interface_t, pub directory_interface: *mut switch_directory_interface_t, pub chat_interface: *mut switch_chat_interface_t, pub say_interface: *mut switch_say_interface_t, pub asr_interface: *mut switch_asr_interface_t, pub management_interface: *mut switch_management_interface_t, pub limit_interface: *mut switch_limit_interface_t, pub database_interface: *mut switch_database_interface_t, pub rwlock: *mut switch_thread_rwlock_t, pub refs: c_int, pub pool: *mut switch_memory_pool_t,
}

Fields§

§module_name: *const c_char§endpoint_interface: *mut switch_endpoint_interface_t§timer_interface: *mut switch_timer_interface_t§dialplan_interface: *mut switch_dialplan_interface_t§codec_interface: *mut switch_codec_interface_t§application_interface: *mut switch_application_interface_t§chat_application_interface: *mut switch_chat_application_interface_t§api_interface: *mut switch_api_interface_t§json_api_interface: *mut switch_json_api_interface_t§file_interface: *mut switch_file_interface_t§speech_interface: *mut switch_speech_interface_t§directory_interface: *mut switch_directory_interface_t§chat_interface: *mut switch_chat_interface_t§say_interface: *mut switch_say_interface_t§asr_interface: *mut switch_asr_interface_t§management_interface: *mut switch_management_interface_t§limit_interface: *mut switch_limit_interface_t§database_interface: *mut switch_database_interface_t§rwlock: *mut switch_thread_rwlock_t§refs: c_int§pool: *mut switch_memory_pool_t

Trait Implementations§

Source§

impl Clone for switch_loadable_module_interface

Source§

fn clone(&self) -> switch_loadable_module_interface

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for switch_loadable_module_interface

Source§

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

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

impl Default for switch_loadable_module_interface

Source§

fn default() -> Self

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

impl Copy for switch_loadable_module_interface

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.