pub struct UnixSocketServer { /* private fields */ }Expand description
Owns the accept task, its connection tasks, and the session endpoint. Dropping it cancels in-flight connections and removes the endpoint.
Implementations§
Trait Implementations§
Source§impl Drop for UnixSocketServer
impl Drop for UnixSocketServer
Auto Trait Implementations§
impl Freeze for UnixSocketServer
impl RefUnwindSafe for UnixSocketServer
impl Send for UnixSocketServer
impl Sync for UnixSocketServer
impl Unpin for UnixSocketServer
impl UnsafeUnpin for UnixSocketServer
impl UnwindSafe for UnixSocketServer
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