|
|
@ -29,7 +29,6 @@ use crate::task::{blocking, Poll};
|
|
|
|
/// ## Examples
|
|
|
|
/// ## Examples
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// ```no_run
|
|
|
|
/// ```no_run
|
|
|
|
/// # #![feature(async_await)]
|
|
|
|
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// #
|
|
|
|
/// #
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
@ -63,7 +62,6 @@ impl UnixDatagram {
|
|
|
|
/// # Examples
|
|
|
|
/// # Examples
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// ```no_run
|
|
|
|
/// ```no_run
|
|
|
|
/// # #![feature(async_await)]
|
|
|
|
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// #
|
|
|
|
/// #
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
@ -83,7 +81,6 @@ impl UnixDatagram {
|
|
|
|
/// # Examples
|
|
|
|
/// # Examples
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// ```no_run
|
|
|
|
/// ```no_run
|
|
|
|
/// # #![feature(async_await)]
|
|
|
|
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// #
|
|
|
|
/// #
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
@ -104,7 +101,6 @@ impl UnixDatagram {
|
|
|
|
/// # Examples
|
|
|
|
/// # Examples
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// ```no_run
|
|
|
|
/// ```no_run
|
|
|
|
/// # #![feature(async_await)]
|
|
|
|
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// #
|
|
|
|
/// #
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
@ -132,7 +128,6 @@ impl UnixDatagram {
|
|
|
|
/// # Examples
|
|
|
|
/// # Examples
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// ```no_run
|
|
|
|
/// ```no_run
|
|
|
|
/// # #![feature(async_await)]
|
|
|
|
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// #
|
|
|
|
/// #
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
@ -153,7 +148,6 @@ impl UnixDatagram {
|
|
|
|
/// # Examples
|
|
|
|
/// # Examples
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// ```no_run
|
|
|
|
/// ```no_run
|
|
|
|
/// # #![feature(async_await)]
|
|
|
|
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// #
|
|
|
|
/// #
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
@ -176,7 +170,6 @@ impl UnixDatagram {
|
|
|
|
/// # Examples
|
|
|
|
/// # Examples
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// ```no_run
|
|
|
|
/// ```no_run
|
|
|
|
/// # #![feature(async_await)]
|
|
|
|
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// #
|
|
|
|
/// #
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
@ -198,7 +191,6 @@ impl UnixDatagram {
|
|
|
|
/// # Examples
|
|
|
|
/// # Examples
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// ```no_run
|
|
|
|
/// ```no_run
|
|
|
|
/// # #![feature(async_await)]
|
|
|
|
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// #
|
|
|
|
/// #
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
@ -232,7 +224,6 @@ impl UnixDatagram {
|
|
|
|
/// # Examples
|
|
|
|
/// # Examples
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// ```no_run
|
|
|
|
/// ```no_run
|
|
|
|
/// # #![feature(async_await)]
|
|
|
|
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// #
|
|
|
|
/// #
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
@ -266,7 +257,6 @@ impl UnixDatagram {
|
|
|
|
/// # Examples
|
|
|
|
/// # Examples
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// ```no_run
|
|
|
|
/// ```no_run
|
|
|
|
/// # #![feature(async_await)]
|
|
|
|
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// #
|
|
|
|
/// #
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
@ -299,7 +289,6 @@ impl UnixDatagram {
|
|
|
|
/// # Examples
|
|
|
|
/// # Examples
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// ```no_run
|
|
|
|
/// ```no_run
|
|
|
|
/// # #![feature(async_await)]
|
|
|
|
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// #
|
|
|
|
/// #
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
@ -336,7 +325,6 @@ impl UnixDatagram {
|
|
|
|
/// ## Examples
|
|
|
|
/// ## Examples
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// ```no_run
|
|
|
|
/// ```no_run
|
|
|
|
/// # #![feature(async_await)]
|
|
|
|
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// # fn main() -> std::io::Result<()> { async_std::task::block_on(async {
|
|
|
|
/// #
|
|
|
|
/// #
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
|
/// use async_std::os::unix::net::UnixDatagram;
|
|
|
|