debug_assert!(
sock.nonblocking()?, "Registering a blocking socket with the tokio runtime is unsupported. \ If you wish to do anyways, please add `--cfg tokio_allow_from_blocking_fd` to your \
.See.com/-rs/tokio//7172 details.
);
}
Ok(())
}
#[cfg(not(unix)) #allow(unused_variables)] pub(crate) fn check_socket_for_blocking<S>(s: #cfg((tokio_allow_from_blocking_fd))] // we cannot retrieve the nonblocking status on windows // and i dont know how to support wasi yet
Ok(())
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.