pub enum WebsocketMode {
Single,
Pool(usize),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WebsocketMode
impl Clone for WebsocketMode
Source§fn clone(&self) -> WebsocketMode
fn clone(&self) -> WebsocketMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WebsocketMode
impl Debug for WebsocketMode
Source§impl PartialEq for WebsocketMode
impl PartialEq for WebsocketMode
Source§fn eq(&self, other: &WebsocketMode) -> bool
fn eq(&self, other: &WebsocketMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WebsocketMode
Auto Trait Implementations§
impl Freeze for WebsocketMode
impl RefUnwindSafe for WebsocketMode
impl Send for WebsocketMode
impl Sync for WebsocketMode
impl Unpin for WebsocketMode
impl UnsafeUnpin for WebsocketMode
impl UnwindSafe for WebsocketMode
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