Enum ya_relay_stack::socket::SocketState
source · pub enum SocketState<T> {
Tcp {
state: TcpState,
inner: T,
},
Other {
inner: T,
},
}Variants§
Implementations§
Trait Implementations§
source§impl<T: Clone> Clone for SocketState<T>
impl<T: Clone> Clone for SocketState<T>
source§fn clone(&self) -> SocketState<T>
fn clone(&self) -> SocketState<T>
Returns a copy 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 more