pub enum RPQBuildError {
InvalidBound {
min: u32,
max: u32,
},
ExpressionTooDeep {
depth: usize,
limit: usize,
},
NfaStateLimitExceeded {
required: usize,
limit: usize,
},
DfaStateLimitExceeded {
limit: usize,
},
InvalidNfa(String),
AllocationFailed {
states: usize,
},
}Variants§
InvalidBound
ExpressionTooDeep
NfaStateLimitExceeded
DfaStateLimitExceeded
InvalidNfa(String)
AllocationFailed
Trait Implementations§
Source§impl Clone for RPQBuildError
impl Clone for RPQBuildError
Source§fn clone(&self) -> RPQBuildError
fn clone(&self) -> RPQBuildError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RPQBuildError
impl Debug for RPQBuildError
Source§impl Display for RPQBuildError
impl Display for RPQBuildError
impl Eq for RPQBuildError
Source§impl Error for RPQBuildError
impl Error for RPQBuildError
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 RPQBuildError
impl PartialEq for RPQBuildError
impl StructuralPartialEq for RPQBuildError
Auto Trait Implementations§
impl Freeze for RPQBuildError
impl RefUnwindSafe for RPQBuildError
impl Send for RPQBuildError
impl Sync for RPQBuildError
impl Unpin for RPQBuildError
impl UnsafeUnpin for RPQBuildError
impl UnwindSafe for RPQBuildError
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