Enum apint::ErrorKind
[−]
[src]
pub enum ErrorKind { InvalidBinaryStr(String), InvalidDecimalStr(String), InvalidHexStr(String), BitAccessOutOfBounds { bit_idx: usize, upper_bound: usize, }, UnmatchingBitwidth(usize, usize), InvalidZeroBitWidth, BitWidthOutOfBounds { bitwidth: usize, lo: usize, hi: usize, }, BitWidthTooLarge { bitwidth: usize, upper_bound: usize, }, BitWidthTooSmall { bitwidth: usize, lower_bound: usize, }, }
Variants
InvalidBinaryStr(String)
InvalidDecimalStr(String)
InvalidHexStr(String)
BitAccessOutOfBounds
Fields of BitAccessOutOfBounds
bit_idx: usize | |
upper_bound: usize |
UnmatchingBitwidth(usize, usize)
InvalidZeroBitWidth
BitWidthOutOfBounds
Fields of BitWidthOutOfBounds
bitwidth: usize | |
lo: usize | |
hi: usize |
BitWidthTooLarge
Fields of BitWidthTooLarge
bitwidth: usize | |
upper_bound: usize |
BitWidthTooSmall
Fields of BitWidthTooSmall
bitwidth: usize | |
lower_bound: usize |
Trait Implementations
impl Debug for ErrorKind
[src]
impl Clone for ErrorKind
[src]
fn clone(&self) -> ErrorKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ErrorKind
[src]
fn eq(&self, __arg_0: &ErrorKind) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ErrorKind) -> bool
[src]
This method tests for !=
.