#[non_exhaustive]pub enum ReconnaissanceSnapshotError {
Show 15 variants
EmptyInput,
InputTooLarge,
MalformedJson,
DuplicateJsonKey,
StructuralLimitExceeded,
UnsupportedSchema,
InvalidSnapshot,
TooManySources,
DuplicateSourceId,
TooManyRecords,
DuplicateRecordId,
DuplicateRecordSource,
UnknownRecordSource,
TooManySourceAssociations,
PreparedIndexTooLarge,
}Expand description
Static, value-free failure from strict reconnaissance snapshot import.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
EmptyInput
No exact input bytes were supplied.
InputTooLarge
The exact input exceeded the one-MiB ceiling.
MalformedJson
The input was not one complete JSON value.
DuplicateJsonKey
A JSON object contained a duplicate decoded key.
StructuralLimitExceeded
JSON depth, nodes, members, arrays, keys, or strings exceeded a bound.
UnsupportedSchema
The document did not select the exact V1 schema.
InvalidSnapshot
A required field, strict type, closed value, or bounded scalar was invalid.
TooManySources
More source declarations were supplied than V1 permits.
DuplicateSourceId
Two source declarations used the same source identifier.
TooManyRecords
More hypothesis records were supplied than V1 permits.
DuplicateRecordId
Two hypothesis records used the same record identifier.
DuplicateRecordSource
One record repeated a source identifier.
UnknownRecordSource
One record referred to a source declaration that does not exist.
TooManySourceAssociations
Total record-to-source associations exceeded the V1 ceiling.
PreparedIndexTooLarge
Prepared deterministic lookup state exceeded its memory ceiling.
Trait Implementations§
Source§impl Clone for ReconnaissanceSnapshotError
impl Clone for ReconnaissanceSnapshotError
Source§fn clone(&self) -> ReconnaissanceSnapshotError
fn clone(&self) -> ReconnaissanceSnapshotError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ReconnaissanceSnapshotError
Source§impl Debug for ReconnaissanceSnapshotError
impl Debug for ReconnaissanceSnapshotError
impl Eq for ReconnaissanceSnapshotError
Source§impl Error for ReconnaissanceSnapshotError
impl Error for ReconnaissanceSnapshotError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
impl StructuralPartialEq for ReconnaissanceSnapshotError
Auto Trait Implementations§
impl Freeze for ReconnaissanceSnapshotError
impl RefUnwindSafe for ReconnaissanceSnapshotError
impl Send for ReconnaissanceSnapshotError
impl Sync for ReconnaissanceSnapshotError
impl Unpin for ReconnaissanceSnapshotError
impl UnsafeUnpin for ReconnaissanceSnapshotError
impl UnwindSafe for ReconnaissanceSnapshotError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.