pub struct Endpoint { /* private fields */ }
Implementations§
Trait Implementations§
source§impl From<SocketAddr> for Endpoint
impl From<SocketAddr> for Endpoint
source§fn from(socket_addr: SocketAddr) -> Self
fn from(socket_addr: SocketAddr) -> Self
Converts to this type from the input type.
source§impl From<SocketAddrV4> for Endpoint
impl From<SocketAddrV4> for Endpoint
source§fn from(socket_addr: SocketAddrV4) -> Self
fn from(socket_addr: SocketAddrV4) -> Self
Converts to this type from the input type.
source§impl From<SocketAddrV6> for Endpoint
impl From<SocketAddrV6> for Endpoint
source§fn from(socket_addr: SocketAddrV6) -> Self
fn from(socket_addr: SocketAddrV6) -> Self
Converts to this type from the input type.
source§impl PartialEq for Endpoint
impl PartialEq for Endpoint
impl Copy for Endpoint
impl Eq for Endpoint
impl StructuralPartialEq for Endpoint
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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