pub struct WsConfig {
pub max_connections: Option<u32>,
pub max_message_size: Option<u32>,
pub heartbeat_interval_ms: Option<u64>,
pub idle_timeout_ms: Option<u64>,
pub connect_timeout_ms: Option<u64>,
pub response_timeout_ms: Option<u64>,
}Fields§
§max_connections: Option<u32>§max_message_size: Option<u32>§heartbeat_interval_ms: Option<u64>§idle_timeout_ms: Option<u64>§connect_timeout_ms: Option<u64>§response_timeout_ms: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for WsConfig
impl<'de> Deserialize<'de> for WsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WsConfig
impl RefUnwindSafe for WsConfig
impl Send for WsConfig
impl Sync for WsConfig
impl Unpin for WsConfig
impl UnsafeUnpin for WsConfig
impl UnwindSafe for WsConfig
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