pub struct ServerWsConfig {
pub tcp_config: TcpConfig,
pub wss_config: Option<ServerWssConfig>,
}
Expand description
WS configuration
Fields§
§tcp_config: TcpConfig
§wss_config: Option<ServerWssConfig>
Trait Implementations§
Source§impl Clone for ServerWsConfig
impl Clone for ServerWsConfig
Source§fn clone(&self) -> ServerWsConfig
fn clone(&self) -> ServerWsConfig
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 moreSource§impl Default for ServerWsConfig
impl Default for ServerWsConfig
Source§fn default() -> ServerWsConfig
fn default() -> ServerWsConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerWsConfig
impl !RefUnwindSafe for ServerWsConfig
impl Send for ServerWsConfig
impl Sync for ServerWsConfig
impl Unpin for ServerWsConfig
impl !UnwindSafe for ServerWsConfig
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