Enum apint::ErrorKind [] [src]

pub enum ErrorKind {
    InvalidBinaryStr(String),
    InvalidDecimalStr(String),
    InvalidHexStr(String),
    BitAccessOutOfBounds {
        bit_idx: usize,
        upper_bound: usize,
    },
    UnmatchingBitwidth(usizeusize),
    InvalidZeroBitWidth,
    BitWidthOutOfBounds {
        bitwidth: usize,
        lo: usize,
        hi: usize,
    },
    BitWidthTooLarge {
        bitwidth: usize,
        upper_bound: usize,
    },
    BitWidthTooSmall {
        bitwidth: usize,
        lower_bound: usize,
    },
}

Variants

Fields of BitAccessOutOfBounds

Fields of BitWidthOutOfBounds

Fields of BitWidthTooLarge

Fields of BitWidthTooSmall

Trait Implementations

impl Debug for ErrorKind
[src]

[src]

Formats the value using the given formatter.

impl Clone for ErrorKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ErrorKind
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for ErrorKind
[src]

impl Hash for ErrorKind
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more