Struct datachannel_sys::rtcConfiguration
source · [−]#[repr(C)]pub struct rtcConfiguration {
pub iceServers: *mut *const c_char,
pub iceServersCount: c_int,
pub bindAddress: *const c_char,
pub certificateType: rtcCertificateType,
pub iceTransportPolicy: rtcTransportPolicy,
pub enableIceTcp: bool,
pub disableAutoNegotiation: bool,
pub portRangeBegin: u16,
pub portRangeEnd: u16,
pub mtu: c_int,
pub maxMessageSize: c_int,
}Fields
iceServers: *mut *const c_chariceServersCount: c_intbindAddress: *const c_charcertificateType: rtcCertificateTypeiceTransportPolicy: rtcTransportPolicyenableIceTcp: booldisableAutoNegotiation: boolportRangeBegin: u16portRangeEnd: u16mtu: c_intmaxMessageSize: c_intTrait Implementations
sourceimpl Clone for rtcConfiguration
impl Clone for rtcConfiguration
sourcefn clone(&self) -> rtcConfiguration
fn clone(&self) -> rtcConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for rtcConfiguration
impl Debug for rtcConfiguration
impl Copy for rtcConfiguration
Auto Trait Implementations
impl RefUnwindSafe for rtcConfiguration
impl !Send for rtcConfiguration
impl !Sync for rtcConfiguration
impl Unpin for rtcConfiguration
impl UnwindSafe for rtcConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more