pub struct SocketConfig {
pub link_condition: Option<LinkConditionerConfig>,
pub rtc_endpoint_path: String,
}
Expand description
Contains Config properties which will be shared by Server and Client sockets
Fields§
§link_condition: Option<LinkConditionerConfig>
Configuration used to simulate network conditions
rtc_endpoint_path: String
The endpoint URL path to use for initiating new WebRTC sessions
Implementations§
Source§impl SocketConfig
impl SocketConfig
Trait Implementations§
Source§impl Clone for SocketConfig
impl Clone for SocketConfig
Source§fn clone(&self) -> SocketConfig
fn clone(&self) -> SocketConfig
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 moreAuto Trait Implementations§
impl Freeze for SocketConfig
impl RefUnwindSafe for SocketConfig
impl Send for SocketConfig
impl Sync for SocketConfig
impl Unpin for SocketConfig
impl UnwindSafe for SocketConfig
Blanket Implementations§
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