pub struct PeerOptions {
pub id: Option<String>,
pub max_channel_message_size: Option<usize>,
pub data_channel_name: Option<String>,
pub event_channel_size: Option<usize>,
pub connection_config: Option<RTCConfiguration>,
pub offer_config: Option<RTCOfferOptions>,
pub answer_config: Option<RTCAnswerOptions>,
pub data_channel_config: Option<RTCDataChannelInit>,
}Fields§
§id: Option<String>§max_channel_message_size: Option<usize>§data_channel_name: Option<String>§event_channel_size: Option<usize>§connection_config: Option<RTCConfiguration>§offer_config: Option<RTCOfferOptions>§answer_config: Option<RTCAnswerOptions>§data_channel_config: Option<RTCDataChannelInit>Trait Implementations§
Source§impl Clone for PeerOptions
impl Clone for PeerOptions
Source§fn clone(&self) -> PeerOptions
fn clone(&self) -> PeerOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for PeerOptions
impl Default for PeerOptions
Source§fn default() -> PeerOptions
fn default() -> PeerOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PeerOptions
impl RefUnwindSafe for PeerOptions
impl Send for PeerOptions
impl Sync for PeerOptions
impl Unpin for PeerOptions
impl UnwindSafe for PeerOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more