Crate enums

source · []
Expand description

A collection of enums in std::*

Enums

Possible alignments returned by Formatter::align

An endpoint of a range of keys.

A single component of a path.

Used to tell an operation whether it should exit early or go on as usual.

A clone-on-write smart pointer.

A list specifying general categories of I/O error.

A classification of floating point numbers.

The error type for errors that can never happen.

Enum to store the various types of errors that can cause parsing an integer to fail.

An IP address, either IPv4 or IPv6.

The Option type. See the module level documentation for more.

An Ordering is the result of a comparison between two values.

Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead.

Windows path prefixes, e.g., C: or \\server\share.

Result is a type that represents either success (Ok) or failure (Err).

Enumeration of possible methods to seek within an I/O object.

Possible values which can be passed to the TcpStream::shutdown method.

An internet socket address, either IPv4 or IPv6.

An enumeration of possible errors associated with a TryLockResult which can occur while trying to acquire a lock, from the try_lock method on a Mutex or the try_read and try_write methods on an RwLock.

The error type for operations interacting with environment variables. Possibly returned from env::var().

Equivalent to C’s void type when used as a pointer.