pub enum SocketConnectionStatus {
Disconnected,
Connecting(String, CancellationToken),
Connected(String, CancellationToken),
}Variants§
Trait Implementations§
Source§impl Clone for SocketConnectionStatus
impl Clone for SocketConnectionStatus
Source§fn clone(&self) -> SocketConnectionStatus
fn clone(&self) -> SocketConnectionStatus
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 SocketConnectionStatus
impl RefUnwindSafe for SocketConnectionStatus
impl Send for SocketConnectionStatus
impl Sync for SocketConnectionStatus
impl Unpin for SocketConnectionStatus
impl UnwindSafe for SocketConnectionStatus
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