Struct naia_socket_shared::SocketConfig
source · 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 copy 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 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