Struct gstreamer_webrtc_sys::GstWebRTCICEClass

source ·
#[repr(C)]
pub struct GstWebRTCICEClass {
Show 23 fields pub parent_class: GstObjectClass, pub add_stream: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: c_uint) -> *mut GstWebRTCICEStream>, pub find_transport: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream, _: GstWebRTCICEComponent) -> *mut GstWebRTCICETransport>, pub gather_candidates: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream) -> gboolean>, pub add_candidate: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream, _: *const c_char, _: *mut GstPromise)>, pub set_local_credentials: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream, _: *const c_char, _: *const c_char) -> gboolean>, pub set_remote_credentials: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream, _: *const c_char, _: *const c_char) -> gboolean>, pub add_turn_server: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *const c_char) -> gboolean>, pub set_is_controller: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: gboolean)>, pub get_is_controller: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE) -> gboolean>, pub set_force_relay: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: gboolean)>, pub set_stun_server: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *const c_char)>, pub get_stun_server: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE) -> *mut c_char>, pub set_turn_server: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *const c_char)>, pub get_turn_server: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE) -> *mut c_char>, pub set_http_proxy: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *const c_char)>, pub get_http_proxy: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE) -> *mut c_char>, pub set_tos: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream, _: c_uint)>, pub set_on_ice_candidate: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: GstWebRTCICEOnCandidateFunc, _: gpointer, _: GDestroyNotify)>, pub get_local_candidates: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream) -> *mut *mut GstWebRTCICECandidateStats>, pub get_remote_candidates: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream) -> *mut *mut GstWebRTCICECandidateStats>, pub get_selected_pair: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream, _: *mut *mut GstWebRTCICECandidateStats, _: *mut *mut GstWebRTCICECandidateStats) -> gboolean>, pub _gst_reserved: [gpointer; 4],
}

Fields§

§parent_class: GstObjectClass§add_stream: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: c_uint) -> *mut GstWebRTCICEStream>§find_transport: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream, _: GstWebRTCICEComponent) -> *mut GstWebRTCICETransport>§gather_candidates: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream) -> gboolean>§add_candidate: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream, _: *const c_char, _: *mut GstPromise)>§set_local_credentials: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream, _: *const c_char, _: *const c_char) -> gboolean>§set_remote_credentials: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream, _: *const c_char, _: *const c_char) -> gboolean>§add_turn_server: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *const c_char) -> gboolean>§set_is_controller: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: gboolean)>§get_is_controller: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE) -> gboolean>§set_force_relay: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: gboolean)>§set_stun_server: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *const c_char)>§get_stun_server: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE) -> *mut c_char>§set_turn_server: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *const c_char)>§get_turn_server: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE) -> *mut c_char>§set_http_proxy: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *const c_char)>§get_http_proxy: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE) -> *mut c_char>§set_tos: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream, _: c_uint)>§set_on_ice_candidate: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: GstWebRTCICEOnCandidateFunc, _: gpointer, _: GDestroyNotify)>§get_local_candidates: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream) -> *mut *mut GstWebRTCICECandidateStats>§get_remote_candidates: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream) -> *mut *mut GstWebRTCICECandidateStats>§get_selected_pair: Option<unsafe extern "C" fn(_: *mut GstWebRTCICE, _: *mut GstWebRTCICEStream, _: *mut *mut GstWebRTCICECandidateStats, _: *mut *mut GstWebRTCICECandidateStats) -> gboolean>§_gst_reserved: [gpointer; 4]

Trait Implementations§

source§

impl Clone for GstWebRTCICEClass

source§

fn clone(&self) -> GstWebRTCICEClass

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 GstWebRTCICEClass

source§

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

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

impl Copy for GstWebRTCICEClass

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, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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,

§

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>,

§

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>,

§

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.