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,
}
Expand description

\brief The abstraction of a loadable module

Fields§

§module_name: *const c_char

the name of the module

§endpoint_interface: *mut switch_endpoint_interface_t

the table of endpoints the module has implemented

§timer_interface: *mut switch_timer_interface_t

the table of timers the module has implemented

§dialplan_interface: *mut switch_dialplan_interface_t

the table of dialplans the module has implemented

§codec_interface: *mut switch_codec_interface_t

the table of codecs the module has implemented

§application_interface: *mut switch_application_interface_t

the table of applications the module has implemented

§chat_application_interface: *mut switch_chat_application_interface_t

the table of chat applications the module has implemented

§api_interface: *mut switch_api_interface_t

the table of api functions the module has implemented

§json_api_interface: *mut switch_json_api_interface_t

the table of json api functions the module has implemented

§file_interface: *mut switch_file_interface_t

the table of file formats the module has implemented

§speech_interface: *mut switch_speech_interface_t

the table of speech interfaces the module has implemented

§directory_interface: *mut switch_directory_interface_t

the table of directory interfaces the module has implemented

§chat_interface: *mut switch_chat_interface_t

the table of chat interfaces the module has implemented

§say_interface: *mut switch_say_interface_t

the table of say interfaces the module has implemented

§asr_interface: *mut switch_asr_interface_t

the table of asr interfaces the module has implemented

§management_interface: *mut switch_management_interface_t

the table of management interfaces the module has implemented

§limit_interface: *mut switch_limit_interface_t

the table of limit interfaces the module has implemented

§database_interface: *mut switch_database_interface_t

the table of database interfaces the module has implemented

§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 · 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 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.