pub enum AtomicWebsocketType {
Internal,
External,
}
Expand description
Internal enum to distinguish WebSocket connection types.
Variants§
Internal
Connection to a server on the local network
External
Connection to an external internet server
Trait Implementations§
Source§impl Clone for AtomicWebsocketType
impl Clone for AtomicWebsocketType
Source§fn clone(&self) -> AtomicWebsocketType
fn clone(&self) -> AtomicWebsocketType
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 moreAuto Trait Implementations§
impl Freeze for AtomicWebsocketType
impl RefUnwindSafe for AtomicWebsocketType
impl Send for AtomicWebsocketType
impl Sync for AtomicWebsocketType
impl Unpin for AtomicWebsocketType
impl UnwindSafe for AtomicWebsocketType
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