Enum veloren_network::ConnectAddr
source · pub enum ConnectAddr {
Tcp(SocketAddr),
Udp(SocketAddr),
Quic(SocketAddr, ClientConfig, String),
Mpsc(u64),
}
Expand description
Represents a Tcp, Quic, Udp or Mpsc connection address
Variants§
Trait Implementations§
source§impl Clone for ConnectAddr
impl Clone for ConnectAddr
source§fn clone(&self) -> ConnectAddr
fn clone(&self) -> ConnectAddr
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ConnectAddr
impl Send for ConnectAddr
impl Sync for ConnectAddr
impl Unpin for ConnectAddr
impl !UnwindSafe for ConnectAddr
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