pub enum LimitError {
Depth {
limit: usize,
},
Nodes {
limit: usize,
},
Vars {
limit: usize,
},
CountOverflow {
vars: usize,
},
Rows {
limit: usize,
},
ChunkBase {
base: u64,
},
}Expand description
预算超限。
Variants§
Depth
深度超限。
Nodes
节点数超限。
Vars
变量数超出枚举预算。
CountOverflow
赋值空间 3^n 超出 u64 可表示范围。
Rows
枚举行数超出预算。
ChunkBase
分块基址非法:必须是 64 的倍数,且 base + 63 不溢出。
Trait Implementations§
Source§impl Clone for LimitError
impl Clone for LimitError
Source§impl Debug for LimitError
impl Debug for LimitError
Source§impl Display for LimitError
impl Display for LimitError
impl Eq for LimitError
Source§impl Error for LimitError
impl Error for LimitError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for LimitError
impl PartialEq for LimitError
impl StructuralPartialEq for LimitError
Auto Trait Implementations§
impl Freeze for LimitError
impl RefUnwindSafe for LimitError
impl Send for LimitError
impl Sync for LimitError
impl Unpin for LimitError
impl UnsafeUnpin for LimitError
impl UnwindSafe for LimitError
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