pub enum DataExtractionError {
InputTooLarge {
actual: usize,
maximum: usize,
},
TooManyLines {
actual: u32,
maximum: u32,
},
UnsupportedArtifact,
SqlParseFailed,
ItemLimitExceeded,
InvalidEvidenceLine {
line: u32,
},
}Expand description
Failure returned by bounded database artifact extraction.
Variants§
InputTooLarge
Input exceeds the fixed byte budget.
TooManyLines
Input exceeds the fixed source-line budget.
UnsupportedArtifact
The path does not select a supported database artifact.
SqlParseFailed
SQL parsing failed without exposing parser input or literal values.
ItemLimitExceeded
A bounded collection exceeded its item budget.
InvalidEvidenceLine
Evidence must fit the one-based line budget.
Trait Implementations§
Source§impl Debug for DataExtractionError
impl Debug for DataExtractionError
Source§impl Display for DataExtractionError
impl Display for DataExtractionError
impl Eq for DataExtractionError
Source§impl Error for DataExtractionError
impl Error for DataExtractionError
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 DataExtractionError
impl PartialEq for DataExtractionError
impl StructuralPartialEq for DataExtractionError
Auto Trait Implementations§
impl Freeze for DataExtractionError
impl RefUnwindSafe for DataExtractionError
impl Send for DataExtractionError
impl Sync for DataExtractionError
impl Unpin for DataExtractionError
impl UnsafeUnpin for DataExtractionError
impl UnwindSafe for DataExtractionError
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<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.