This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| type Error struct { | |
| Err error | |
| } | |
| func (e *Error) Error() string { | |
| return e.Err.Error() | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am cloudhead on github. | |
| * I am cloudhead (https://keybase.io/cloudhead) on keybase. | |
| * I have a public key whose fingerprint is 9453 A236 6051 325A 9983 4A19 0F08 5776 FC21 7A78 | |
| To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use std::io; | |
| use std::net; | |
| use std::os::unix::io::AsRawFd; | |
| use std::os::unix::io::RawFd; | |
| use std::time; | |
| #[repr(C, packed)] | |
| pub struct Descriptor { | |
| fd: RawFd, | |
| events: libc::c_short, |
OlderNewer