pub struct Stream(/* private fields */);Expand description
The Socket implementation using Unix Domain Sockets.
Trait Implementations§
Source§impl AsFd for Stream
impl AsFd for Stream
Source§fn as_fd(&self) -> BorrowedFd<'_>
fn as_fd(&self) -> BorrowedFd<'_>
Borrows the file descriptor. Read more
Source§impl Socket for Stream
impl Socket for Stream
Source§const CAN_TRANSFER_FDS: bool = true
const CAN_TRANSFER_FDS: bool = true
Whether this socket can transfer file descriptors. Read more
Source§impl TryFrom<UnixStream> for Stream
impl TryFrom<UnixStream> for Stream
Source§impl TryFrom<UnixStream> for Stream
impl TryFrom<UnixStream> for Stream
impl UnixSocket for Stream
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
impl UnwindSafe for Stream
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
Source§impl<T> FetchPeerCredentials for Twhere
T: UnixSocket,
impl<T> FetchPeerCredentials for Twhere
T: UnixSocket,
Source§async fn fetch_peer_credentials(&self) -> Result<Credentials, Error>
async fn fetch_peer_credentials(&self) -> Result<Credentials, Error>
Fetch the peer credentials for this socket. Read more