Enum bounded_vec::BoundedVecOutOfBounds [−][src]
pub enum BoundedVecOutOfBounds {
LowerBoundError {
lower_bound: usize,
got: usize,
},
UpperBoundError {
upper_bound: usize,
got: usize,
},
}Expand description
BoundedVec errors
Variants
Items quantity is less than L (lower bound)
Items quantity is more than U (upper bound)
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for BoundedVecOutOfBounds
impl Send for BoundedVecOutOfBounds
impl Sync for BoundedVecOutOfBounds
impl Unpin for BoundedVecOutOfBounds
impl UnwindSafe for BoundedVecOutOfBounds
Blanket Implementations
Mutably borrows from an owned value. Read more