{"action":"created","comment":{"url":"https://api.github.com/repos/libpnet/libpnet/pulls/comments/65460166","id":65460166,"diff_hunk":"@@ -58,6 +59,9 @@ pub enum ChannelType {\n     Layer3(EtherType),\n }\n \n+/// Type of timestamped Ethernet packet (Linux only)\n+pub struct TimestampedEthernetPacket<'a>(Duration, EthernetPacket<'a>);","path":"src/datalink/mod.rs","position":13,"original_position":13,"commit_id":"10f6a8890f9cffe95cb75637064889c033a06867","original_commit_id":"c6a9ad3b5b2fa2a07b2b9d5d8d0ac4bf7d3633f0","user":{"login":"moosingin3space","id":830082,"avatar_url":"https://avatars.githubusercontent.com/u/830082?v=3","gravatar_id":"","url":"https://api.github.com/users/moosingin3space","html_url":"https://github.com/moosingin3space","followers_url":"https://api.github.com/users/moosingin3space/followers","following_url":"https://api.github.com/users/moosingin3space/following{/other_user}","gists_url":"https://api.github.com/users/moosingin3space/gists{/gist_id}","starred_url":"https://api.github.com/users/moosingin3space/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moosingin3space/subscriptions","organizations_url":"https://api.github.com/users/moosingin3space/orgs","repos_url":"https://api.github.com/users/moosingin3space/repos","events_url":"https://api.github.com/users/moosingin3space/events{/privacy}","received_events_url":"https://api.github.com/users/moosingin3space/received_events","type":"User","site_admin":false},"body":"The macro raised errors when I used a tuple. Or are you suggesting `type EthernetPacketTimestamped<'a> = (Duration, EthernetPacket<'a>)`, which can then be used with `let (ts, pkt) = iter.next()`?","created_at":"2016-06-01T23:17:16Z","updated_at":"2016-06-01T23:17:16Z","html_url":"https://github.com/libpnet/libpnet/pull/194#discussion_r65460166","pull_request_url":"https://api.github.com/repos/libpnet/libpnet/pulls/194","_links":{"self":{"href":"https://api.github.com/repos/libpnet/libpnet/pulls/comments/65460166"},"html":{"href":"https://github.com/libpnet/libpnet/pull/194#discussion_r65460166"},"pull_request":{"href":"https://api.github.com/repos/libpnet/libpnet/pulls/194"}}},"pull_request":{"url":"https://api.github.com/repos/libpnet/libpnet/pulls/194","id":72109812,"html_url":"https://github.com/libpnet/libpnet/pull/194","diff_url":"https://github.com/libpnet/libpnet/pull/194.diff","patch_url":"https://github.com/libpnet/libpnet/pull/194.patch","issue_url":"https://api.github.com/repos/libpnet/libpnet/issues/194","number":194,"state":"open","locked":false,"title":"WIP: Implemented incoming packet timestamps","user":{"login":"moosingin3space","id":830082,"avatar_url":"https://avatars.githubusercontent.com/u/830082?v=3","gravatar_id":"","url":"https://api.github.com/users/moosingin3space","html_url":"https://github.com/moosingin3space","followers_url":"https://api.github.com/users/moosingin3space/followers","following_url":"https://api.github.com/users/moosingin3space/following{/other_user}","gists_url":"https://api.github.com/users/moosingin3space/gists{/gist_id}","starred_url":"https://api.github.com/users/moosingin3space/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moosingin3space/subscriptions","organizations_url":"https://api.github.com/users/moosingin3space/orgs","repos_url":"https://api.github.com/users/moosingin3space/repos","events_url":"https://api.github.com/users/moosingin3space/events{/privacy}","received_events_url":"https://api.github.com/users/moosingin3space/received_events","type":"User","site_admin":false},"body":"Right now, as with #193, this is Linux-only, but I do not know how to support other platforms.\r\n\r\nNeeds unit tests and a discussion regarding the design of `TimestampedEthernetPacket`.","created_at":"2016-06-01T01:17:15Z","updated_at":"2016-06-01T23:17:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"701f8d9b98b5ce3e9f07125801a69dcb817f50d6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/libpnet/libpnet/pulls/194/commits","review_comments_url":"https://api.github.com/repos/libpnet/libpnet/pulls/194/comments","review_comment_url":"https://api.github.com/repos/libpnet/libpnet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libpnet/libpnet/issues/194/comments","statuses_url":"https://api.github.com/repos/libpnet/libpnet/statuses/10f6a8890f9cffe95cb75637064889c033a06867","head":{"label":"moosingin3space:feature/get-hardware-timestamps","ref":"feature/get-hardware-timestamps","sha":"10f6a8890f9cffe95cb75637064889c033a06867","user":{"login":"moosingin3space","id":830082,"avatar_url":"https://avatars.githubusercontent.com/u/830082?v=3","gravatar_id":"","url":"https://api.github.com/users/moosingin3space","html_url":"https://github.com/moosingin3space","followers_url":"https://api.github.com/users/moosingin3space/followers","following_url":"https://api.github.com/users/moosingin3space/following{/other_user}","gists_url":"https://api.github.com/users/moosingin3space/gists{/gist_id}","starred_url":"https://api.github.com/users/moosingin3space/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moosingin3space/subscriptions","organizations_url":"https://api.github.com/users/moosingin3space/orgs","repos_url":"https://api.github.com/users/moosingin3space/repos","events_url":"https://api.github.com/users/moosingin3space/events{/privacy}","received_events_url":"https://api.github.com/users/moosingin3space/received_events","type":"User","site_admin":false},"repo":{"id":59529441,"name":"libpnet","full_name":"moosingin3space/libpnet","owner":{"login":"moosingin3space","id":830082,"avatar_url":"https://avatars.githubusercontent.com/u/830082?v=3","gravatar_id":"","url":"https://api.github.com/users/moosingin3space","html_url":"https://github.com/moosingin3space","followers_url":"https://api.github.com/users/moosingin3space/followers","following_url":"https://api.github.com/users/moosingin3space/following{/other_user}","gists_url":"https://api.github.com/users/moosingin3space/gists{/gist_id}","starred_url":"https://api.github.com/users/moosingin3space/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moosingin3space/subscriptions","organizations_url":"https://api.github.com/users/moosingin3space/orgs","repos_url":"https://api.github.com/users/moosingin3space/repos","events_url":"https://api.github.com/users/moosingin3space/events{/privacy}","received_events_url":"https://api.github.com/users/moosingin3space/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moosingin3space/libpnet","description":"Cross-platform, low level networking using the Rust programming language.","fork":true,"url":"https://api.github.com/repos/moosingin3space/libpnet","forks_url":"https://api.github.com/repos/moosingin3space/libpnet/forks","keys_url":"https://api.github.com/repos/moosingin3space/libpnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moosingin3space/libpnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moosingin3space/libpnet/teams","hooks_url":"https://api.github.com/repos/moosingin3space/libpnet/hooks","issue_events_url":"https://api.github.com/repos/moosingin3space/libpnet/issues/events{/number}","events_url":"https://api.github.com/repos/moosingin3space/libpnet/events","assignees_url":"https://api.github.com/repos/moosingin3space/libpnet/assignees{/user}","branches_url":"https://api.github.com/repos/moosingin3space/libpnet/branches{/branch}","tags_url":"https://api.github.com/repos/moosingin3space/libpnet/tags","blobs_url":"https://api.github.com/repos/moosingin3space/libpnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moosingin3space/libpnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moosingin3space/libpnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/moosingin3space/libpnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moosingin3space/libpnet/statuses/{sha}","languages_url":"https://api.github.com/repos/moosingin3space/libpnet/languages","stargazers_url":"https://api.github.com/repos/moosingin3space/libpnet/stargazers","contributors_url":"https://api.github.com/repos/moosingin3space/libpnet/contributors","subscribers_url":"https://api.github.com/repos/moosingin3space/libpnet/subscribers","subscription_url":"https://api.github.com/repos/moosingin3space/libpnet/subscription","commits_url":"https://api.github.com/repos/moosingin3space/libpnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/moosingin3space/libpnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/moosingin3space/libpnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/moosingin3space/libpnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/moosingin3space/libpnet/contents/{+path}","compare_url":"https://api.github.com/repos/moosingin3space/libpnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moosingin3space/libpnet/merges","archive_url":"https://api.github.com/repos/moosingin3space/libpnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moosingin3space/libpnet/downloads","issues_url":"https://api.github.com/repos/moosingin3space/libpnet/issues{/number}","pulls_url":"https://api.github.com/repos/moosingin3space/libpnet/pulls{/number}","milestones_url":"https://api.github.com/repos/moosingin3space/libpnet/milestones{/number}","notifications_url":"https://api.github.com/repos/moosingin3space/libpnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moosingin3space/libpnet/labels{/name}","releases_url":"https://api.github.com/repos/moosingin3space/libpnet/releases{/id}","deployments_url":"https://api.github.com/repos/moosingin3space/libpnet/deployments","created_at":"2016-05-24T01:10:18Z","updated_at":"2016-05-24T01:10:19Z","pushed_at":"2016-06-01T23:14:31Z","git_url":"git://github.com/moosingin3space/libpnet.git","ssh_url":"git@github.com:moosingin3space/libpnet.git","clone_url":"https://github.com/moosingin3space/libpnet.git","svn_url":"https://github.com/moosingin3space/libpnet","homepage":"","size":623,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"libpnet:master","ref":"master","sha":"a5f9c50011321e625179ecee926cda037aa0bc57","user":{"login":"libpnet","id":8604237,"avatar_url":"https://avatars.githubusercontent.com/u/8604237?v=3","gravatar_id":"","url":"https://api.github.com/users/libpnet","html_url":"https://github.com/libpnet","followers_url":"https://api.github.com/users/libpnet/followers","following_url":"https://api.github.com/users/libpnet/following{/other_user}","gists_url":"https://api.github.com/users/libpnet/gists{/gist_id}","starred_url":"https://api.github.com/users/libpnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libpnet/subscriptions","organizations_url":"https://api.github.com/users/libpnet/orgs","repos_url":"https://api.github.com/users/libpnet/repos","events_url":"https://api.github.com/users/libpnet/events{/privacy}","received_events_url":"https://api.github.com/users/libpnet/received_events","type":"Organization","site_admin":false},"repo":{"id":23515627,"name":"libpnet","full_name":"libpnet/libpnet","owner":{"login":"libpnet","id":8604237,"avatar_url":"https://avatars.githubusercontent.com/u/8604237?v=3","gravatar_id":"","url":"https://api.github.com/users/libpnet","html_url":"https://github.com/libpnet","followers_url":"https://api.github.com/users/libpnet/followers","following_url":"https://api.github.com/users/libpnet/following{/other_user}","gists_url":"https://api.github.com/users/libpnet/gists{/gist_id}","starred_url":"https://api.github.com/users/libpnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libpnet/subscriptions","organizations_url":"https://api.github.com/users/libpnet/orgs","repos_url":"https://api.github.com/users/libpnet/repos","events_url":"https://api.github.com/users/libpnet/events{/privacy}","received_events_url":"https://api.github.com/users/libpnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libpnet/libpnet","description":"Cross-platform, low level networking using the Rust programming language.","fork":false,"url":"https://api.github.com/repos/libpnet/libpnet","forks_url":"https://api.github.com/repos/libpnet/libpnet/forks","keys_url":"https://api.github.com/repos/libpnet/libpnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libpnet/libpnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libpnet/libpnet/teams","hooks_url":"https://api.github.com/repos/libpnet/libpnet/hooks","issue_events_url":"https://api.github.com/repos/libpnet/libpnet/issues/events{/number}","events_url":"https://api.github.com/repos/libpnet/libpnet/events","assignees_url":"https://api.github.com/repos/libpnet/libpnet/assignees{/user}","branches_url":"https://api.github.com/repos/libpnet/libpnet/branches{/branch}","tags_url":"https://api.github.com/repos/libpnet/libpnet/tags","blobs_url":"https://api.github.com/repos/libpnet/libpnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libpnet/libpnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libpnet/libpnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/libpnet/libpnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libpnet/libpnet/statuses/{sha}","languages_url":"https://api.github.com/repos/libpnet/libpnet/languages","stargazers_url":"https://api.github.com/repos/libpnet/libpnet/stargazers","contributors_url":"https://api.github.com/repos/libpnet/libpnet/contributors","subscribers_url":"https://api.github.com/repos/libpnet/libpnet/subscribers","subscription_url":"https://api.github.com/repos/libpnet/libpnet/subscription","commits_url":"https://api.github.com/repos/libpnet/libpnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/libpnet/libpnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/libpnet/libpnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/libpnet/libpnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/libpnet/libpnet/contents/{+path}","compare_url":"https://api.github.com/repos/libpnet/libpnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libpnet/libpnet/merges","archive_url":"https://api.github.com/repos/libpnet/libpnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libpnet/libpnet/downloads","issues_url":"https://api.github.com/repos/libpnet/libpnet/issues{/number}","pulls_url":"https://api.github.com/repos/libpnet/libpnet/pulls{/number}","milestones_url":"https://api.github.com/repos/libpnet/libpnet/milestones{/number}","notifications_url":"https://api.github.com/repos/libpnet/libpnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libpnet/libpnet/labels{/name}","releases_url":"https://api.github.com/repos/libpnet/libpnet/releases{/id}","deployments_url":"https://api.github.com/repos/libpnet/libpnet/deployments","created_at":"2014-08-31T14:44:47Z","updated_at":"2016-06-01T07:18:58Z","pushed_at":"2016-06-01T23:14:31Z","git_url":"git://github.com/libpnet/libpnet.git","ssh_url":"git@github.com:libpnet/libpnet.git","clone_url":"https://github.com/libpnet/libpnet.git","svn_url":"https://github.com/libpnet/libpnet","homepage":"","size":714,"stargazers_count":302,"watchers_count":302,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":38,"forks":51,"open_issues":38,"watchers":302,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libpnet/libpnet/pulls/194"},"html":{"href":"https://github.com/libpnet/libpnet/pull/194"},"issue":{"href":"https://api.github.com/repos/libpnet/libpnet/issues/194"},"comments":{"href":"https://api.github.com/repos/libpnet/libpnet/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/libpnet/libpnet/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/libpnet/libpnet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libpnet/libpnet/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/libpnet/libpnet/statuses/10f6a8890f9cffe95cb75637064889c033a06867"}}}}
{"actor":{"display_login":"moosingin3space"}}