pub struct UnixIpc;Implementations§
Trait Implementations§
impl Copy for UnixIpc
Source§impl Ipc for UnixIpc
impl Ipc for UnixIpc
Source§const LEAVES_STALE_ARTIFACT: bool = true
const LEAVES_STALE_ARTIFACT: bool = true
A socket file outlives the process that bound it, so the caller must sweep it — inode-matched, or a stale guard deletes a successor’s live socket.
type Listener = UnixIpcListener
type Stream = UnixStream
fn bind_private(&self, id: &str) -> Result<Self::Listener>
async fn connect(&self, id: &str) -> Result<Self::Stream>
Source§fn authenticate_peer(&self, stream: &Self::Stream) -> Result<(), PeerReject>
fn authenticate_peer(&self, stream: &Self::Stream) -> Result<(), PeerReject>
Reject a peer that is not the current user. Read more
fn list_live(&self) -> Vec<String>
impl Sealed for UnixIpc
Auto Trait Implementations§
impl Freeze for UnixIpc
impl RefUnwindSafe for UnixIpc
impl Send for UnixIpc
impl Sync for UnixIpc
impl Unpin for UnixIpc
impl UnsafeUnpin for UnixIpc
impl UnwindSafe for UnixIpc
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