tokio::util::blocking_check

Function check_socket_for_blocking

Source
pub(crate) fn check_socket_for_blocking<S: AsFd>(s: &S) -> Result<()>