Struct datachannel_sys::rtcConfiguration
source · [−]#[repr(C)]pub struct rtcConfiguration {Show 13 fields
pub iceServers: *mut *const c_char,
pub iceServersCount: c_int,
pub proxyServer: *const c_char,
pub bindAddress: *const c_char,
pub certificateType: rtcCertificateType,
pub iceTransportPolicy: rtcTransportPolicy,
pub enableIceTcp: bool,
pub enableIceUdpMux: bool,
pub disableAutoNegotiation: bool,
pub portRangeBegin: u16,
pub portRangeEnd: u16,
pub mtu: c_int,
pub maxMessageSize: c_int,
}
Fields
iceServers: *mut *const c_char
iceServersCount: c_int
proxyServer: *const c_char
bindAddress: *const c_char
certificateType: rtcCertificateType
iceTransportPolicy: rtcTransportPolicy
enableIceTcp: bool
enableIceUdpMux: bool
disableAutoNegotiation: bool
portRangeBegin: u16
portRangeEnd: u16
mtu: c_int
maxMessageSize: c_int
Trait 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 · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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