pub struct Inet { /* private fields */ }Implementations§
Source§impl Inet
impl Inet
Sourcepub fn try_connect(&self, fd: BorrowedFd<'_>) -> Result<(), Errno>
pub fn try_connect(&self, fd: BorrowedFd<'_>) -> Result<(), Errno>
Connects the caller’s existing socket to this retained address.
Trait Implementations§
impl Copy for Inet
Source§impl From<&SocketAddr> for Inet
impl From<&SocketAddr> for Inet
Source§fn from(address: &SocketAddr) -> Self
fn from(address: &SocketAddr) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Inet
impl RefUnwindSafe for Inet
impl Send for Inet
impl Sync for Inet
impl Unpin for Inet
impl UnsafeUnpin for Inet
impl UnwindSafe for Inet
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