pub struct UnlinkUnixSeqpacketListener(pub UnixSeqpacketListener);
Expand description
Used to attempt to clean up a UnixSeqpacketListener
after it is dropped.
Tuple Fields§
§0: UnixSeqpacketListener
Methods from Deref<Target = UnixSeqpacketListener>§
sourcepub fn accept(&self) -> Result<UnixSeqpacket>
pub fn accept(&self) -> Result<UnixSeqpacket>
Blocks for and accepts a new incoming connection and returns the socket associated with that connection.
The returned socket has the close-on-exec flag set.
pub fn accept_with_timeout(&self, timeout: Duration) -> Result<UnixSeqpacket>
sourcepub fn set_nonblocking(&self, nonblocking: bool) -> Result<()>
pub fn set_nonblocking(&self, nonblocking: bool) -> Result<()>
Sets the blocking mode for this socket.
Trait Implementations§
source§impl AsRawDescriptor for UnlinkUnixSeqpacketListener
impl AsRawDescriptor for UnlinkUnixSeqpacketListener
source§fn as_raw_descriptor(&self) -> RawDescriptor
fn as_raw_descriptor(&self) -> RawDescriptor
Returns the underlying raw descriptor. Read more
source§impl AsRef<UnixSeqpacketListener> for UnlinkUnixSeqpacketListener
impl AsRef<UnixSeqpacketListener> for UnlinkUnixSeqpacketListener
source§fn as_ref(&self) -> &UnixSeqpacketListener
fn as_ref(&self) -> &UnixSeqpacketListener
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Deref for UnlinkUnixSeqpacketListener
impl Deref for UnlinkUnixSeqpacketListener
Auto Trait Implementations§
impl RefUnwindSafe for UnlinkUnixSeqpacketListener
impl Send for UnlinkUnixSeqpacketListener
impl Sync for UnlinkUnixSeqpacketListener
impl Unpin for UnlinkUnixSeqpacketListener
impl UnwindSafe for UnlinkUnixSeqpacketListener
Blanket Implementations§
source§impl<T> AsRawDescriptors for Twhere
T: AsRawDescriptor,
impl<T> AsRawDescriptors for Twhere
T: AsRawDescriptor,
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