Struct aral_runtime_async_std::os::unix::net::UnixStream
source · pub struct UnixStream(/* private fields */);
Available on Unix only.
Implementations§
source§impl UnixStream
impl UnixStream
pub async fn connect(path: impl AsRef<Path>) -> Result<UnixStream>
pub fn local_addr(&self) -> Result<SocketAddr>
pub fn pair() -> Result<(UnixStream, UnixStream)>
pub fn peer_addr(&self) -> Result<SocketAddr>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for UnixStream
impl Send for UnixStream
impl Sync for UnixStream
impl Unpin for UnixStream
impl UnwindSafe for UnixStream
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