{"action":"created","issue":{"url":"https://api.github.com/repos/tokio-rs/tokio/issues/782","repository_url":"https://api.github.com/repos/tokio-rs/tokio","labels_url":"https://api.github.com/repos/tokio-rs/tokio/issues/782/labels{/name}","comments_url":"https://api.github.com/repos/tokio-rs/tokio/issues/782/comments","events_url":"https://api.github.com/repos/tokio-rs/tokio/issues/782/events","html_url":"https://github.com/tokio-rs/tokio/pull/782","id":385712026,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NjE4MzM0","number":782,"title":"Fix uds UnixDatagram send and recv methods in WouldBlock case","user":{"login":"flxo","id":129436,"node_id":"MDQ6VXNlcjEyOTQzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/129436?v=4","gravatar_id":"","url":"https://api.github.com/users/flxo","html_url":"https://github.com/flxo","followers_url":"https://api.github.com/users/flxo/followers","following_url":"https://api.github.com/users/flxo/following{/other_user}","gists_url":"https://api.github.com/users/flxo/gists{/gist_id}","starred_url":"https://api.github.com/users/flxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flxo/subscriptions","organizations_url":"https://api.github.com/users/flxo/orgs","repos_url":"https://api.github.com/users/flxo/repos","events_url":"https://api.github.com/users/flxo/events{/privacy}","received_events_url":"https://api.github.com/users/flxo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-11-29T12:24:09Z","updated_at":"2019-01-03T05:30:17Z","closed_at":"2018-12-01T00:40:04Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/tokio-rs/tokio/pulls/782","html_url":"https://github.com/tokio-rs/tokio/pull/782","diff_url":"https://github.com/tokio-rs/tokio/pull/782.diff","patch_url":"https://github.com/tokio-rs/tokio/pull/782.patch"},"body":"## Motivation\r\n\r\nThe `UnixDatagram` send methods are broken in terms of returning `Error` in the `Wouldblock` case.\r\n\r\n## Solution\r\n\r\nAdd missing return. Furthermore align the `UnixDatagram` `send` and `recv` methods to the way it is done in TcpStream.\r\n\r\nFixes: #779"},"comment":{"url":"https://api.github.com/repos/tokio-rs/tokio/issues/comments/451058746","html_url":"https://github.com/tokio-rs/tokio/pull/782#issuecomment-451058746","issue_url":"https://api.github.com/repos/tokio-rs/tokio/issues/782","id":451058746,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTA1ODc0Ng==","user":{"login":"carllerche","id":6180,"node_id":"MDQ6VXNlcjYxODA=","avatar_url":"https://avatars3.githubusercontent.com/u/6180?v=4","gravatar_id":"","url":"https://api.github.com/users/carllerche","html_url":"https://github.com/carllerche","followers_url":"https://api.github.com/users/carllerche/followers","following_url":"https://api.github.com/users/carllerche/following{/other_user}","gists_url":"https://api.github.com/users/carllerche/gists{/gist_id}","starred_url":"https://api.github.com/users/carllerche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carllerche/subscriptions","organizations_url":"https://api.github.com/users/carllerche/orgs","repos_url":"https://api.github.com/users/carllerche/repos","events_url":"https://api.github.com/users/carllerche/events{/privacy}","received_events_url":"https://api.github.com/users/carllerche/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T05:30:17Z","updated_at":"2019-01-03T05:30:17Z","author_association":"MEMBER","body":"@flxo Late to the party, but it would be super awesome to contribute a test covering the issue in a new PR."}}
{"actor":{"display_login":"carllerche"}}