An event returned after polling.
struct Event {
/* private fields */
}| Receiver | Name | Description |
|---|---|---|
self | fd | Returns the associated file descriptor. |
self | is_error | Returns whether an error condition occurred on the file descriptor. |
self | is_hang_up | Returns whether the peer has hung up. |
self | is_priority | Returns whether priority data is available for reading. |
self | is_read | Returns whether the file descriptor is readable. |
self | is_read_hang_up | Returns whether the peer has hung up his write end. |
self | is_write | Returns whether the file descriptor is writable. |
| Name | Description |
|---|---|
| Clone | Objects that can be duplicated. |
| Copy | Objects that can safely be copied via |
| Debug | Objects that can be formatted in a "debug" form. |
| Eq | Objects that implement the binary |
| MaybeClone | Objects that can be duplicated. |
| Pod | Objects that are safe to use if they contain a random bit pattern. |