A timer.
struct Timer {
/* private fields */
}| Receiver | Name | Description |
|---|---|---|
&self | disable | Disables the timer. |
&self | interval | Sets the timer to expire every |
&self | interval_from | Sets the timer to expire every |
&self | interval_in | Sets the timer to expire every |
&self | once_at | Sets the timer to expire once at the absolute |
&self | once_in | Sets the timer to expire in |
&self | status | Returns the status of the timer. TODO: Document this. |
&self | ticks | Returns the number of times the timer expired since this function was last called. |
| Name | Description |
|---|---|
| Drop | Objects with a destructor. |
| FDContainer | Objects that are file descriptor wrappers. |