pub struct ServerOption {
pub ping_timeout: u64,
pub ping_interval: u64,
pub max_payload: usize,
}
Fields§
§ping_timeout: u64
§ping_interval: u64
§max_payload: usize
Trait Implementations§
Source§impl Clone for ServerOption
impl Clone for ServerOption
Source§fn clone(&self) -> ServerOption
fn clone(&self) -> ServerOption
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 moreSource§impl Debug for ServerOption
impl Debug for ServerOption
Source§impl Default for ServerOption
impl Default for ServerOption
impl Copy for ServerOption
Auto Trait Implementations§
impl Freeze for ServerOption
impl RefUnwindSafe for ServerOption
impl Send for ServerOption
impl Sync for ServerOption
impl Unpin for ServerOption
impl UnwindSafe for ServerOption
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