A standard error
struct Errno(i32)
| Position | Description |
|---|---|
| 1 | The error number. |
| Receiver | Name | Description |
|---|---|---|
self | desc | Returns a longer description of the error. |
self | name | Returns the name of the error in string form. |
| Name | Description |
|---|---|
| Clone | Objects that can be duplicated. |
| Copy | Objects that can safely be copied via |
| Eq | Objects that implement the binary |
| Hash | Objects that can be hashed. |
| MaybeClone | Objects that can be duplicated. |
| Pod | Objects that are safe to use if they contain a random bit pattern. |
Error numbers between 0 and 4096 exclusive are reserved by the kernel. Error numbers between 4096 and 9999 inclusive are reserved by lrs.
lrs::error which contains constants for the error numbers returned by the kernel.