Struct lrs::error::Errno

A standard error

Syntax

struct Errno(i32)

Fields

PositionDescription
1

The error number.

Methods

ReceiverNameDescription
selfdesc

Returns a longer description of the error.

selfname

Returns the name of the error in string form.

Trait implementations

NameDescription
Clone

Objects that can be duplicated.

Copy

Objects that can safely be copied via memcpy.

Eq

Objects that implement the binary == and != operators.

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.

Remarks

Error numbers between 0 and 4096 exclusive are reserved by the kernel. Error numbers between 4096 and 9999 inclusive are reserved by lrs.

See also