pub enum SizeError {
Unsatisfiable,
TooLarge,
GuardError,
Solve(SolveError),
}Expand description
Why solve_sizes failed.
Variants§
Unsatisfiable
No size assignment satisfies the size constraints.
TooLarge
Only sizes beyond SIZE_TIERS satisfy them.
GuardError
A guard in a size constraint is ERROR.
Solve(SolveError)
The size sub-problem failed otherwise.
Trait Implementations§
impl Eq for SizeError
impl StructuralPartialEq for SizeError
Auto Trait Implementations§
impl Freeze for SizeError
impl RefUnwindSafe for SizeError
impl Send for SizeError
impl Sync for SizeError
impl Unpin for SizeError
impl UnsafeUnpin for SizeError
impl UnwindSafe for SizeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.