pub struct AsyncUnixListener { /* private fields */ }Implementations§
Source§impl AsyncUnixListener
impl AsyncUnixListener
pub fn new(l: UnixListener) -> Self
pub fn bind<P: AsRef<Path>>(path: P) -> Result<Self, Error>
pub fn local_addr(&self) -> Result<SocketAddr, Error>
pub fn accept(&self) -> UnixAcceptFuture<'_> ⓘ
Auto Trait Implementations§
impl !Freeze for AsyncUnixListener
impl !RefUnwindSafe for AsyncUnixListener
impl !Send for AsyncUnixListener
impl !Sync for AsyncUnixListener
impl Unpin for AsyncUnixListener
impl !UnwindSafe for AsyncUnixListener
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