pub(crate) fn sock_shutdown_internal( ctx: &mut FunctionEnvMut<'_, WasiEnv>, sock: Fd, shutdown: Shutdown, ) -> Result<Result<(), Errno>, WasiError>