Enum cast::Error [] [src]

pub enum Error {
    Infinite,
    NaN,
    Overflow,
    Underflow,
}
[]

Cast errors

Variants

[]

Infinite value casted to a type that can only represent finite values

[]

NaN value casted to a type that can't represent a NaN value

[]

Source value is greater than the maximum value that the destination type can hold

[]

Source value is smaller than the minimum value that the destination type can hold

Trait Implementations

impl Clone for Error
[src]

[src]
[]

Returns a copy of the value. Read more

1.0.0
[src]
[]

Performs copy-assignment from source. Read more

impl Copy for Error
[src]

impl Debug for Error
[src]

[src]
[]

Formats the value using the given formatter. Read more

impl Eq for Error
[src]

impl PartialEq for Error
[src]

[src]
[]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]
[]

This method tests for !=.

impl Display for Error
[src]

[src]
[]

Formats the value using the given formatter. Read more