pub struct ServerConfig {
pub bind_addr: String,
pub ws_path: String,
pub event_capacity: usize,
pub ping_interval: Duration,
pub ping_timeout: Duration,
}Fields§
§bind_addr: String§ws_path: String§event_capacity: usize§ping_interval: Duration§ping_timeout: DurationImplementations§
Auto Trait Implementations§
impl Freeze for ServerConfig
impl RefUnwindSafe for ServerConfig
impl Send for ServerConfig
impl Sync for ServerConfig
impl Unpin for ServerConfig
impl UnsafeUnpin for ServerConfig
impl UnwindSafe for ServerConfig
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