pub enum ExportError {
ParallelProcessingError {
shard_index: usize,
thread_id: String,
error_message: String,
partial_results: Option<Vec<u8>>,
},
ResourceLimitExceeded {
resource_type: ResourceType,
limit: u64,
actual: u64,
suggested_action: String,
},
DataQualityError {
validation_type: ValidationType,
expected: String,
actual: String,
affected_records: usize,
},
PerformanceThresholdExceeded {
metric: PerformanceMetric,
threshold: f64,
actual: f64,
stage: ExportStage,
},
ConcurrencyConflict {
operation: String,
conflict_type: ConflictType,
retry_count: usize,
},
DataCorruption {
corruption_type: CorruptionType,
affected_data: String,
recovery_possible: bool,
},
InsufficientResources {
required_memory: usize,
available_memory: usize,
required_disk: usize,
available_disk: usize,
},
ExportInterrupted {
stage: ExportStage,
progress_percentage: f64,
partial_output_path: Option<String>,
},
}
Expand description
export system error type
Variants§
ParallelProcessingError
parallel processing error
Fields
ResourceLimitExceeded
resource limit exceeded error
Fields
§
resource_type: ResourceType
resource type
DataQualityError
data quality error
Fields
§
validation_type: ValidationType
validation type
PerformanceThresholdExceeded
performance threshold exceeded error
ConcurrencyConflict
concurrency conflict error
Fields
§
conflict_type: ConflictType
conflict type
DataCorruption
data corruption error
Fields
§
corruption_type: CorruptionType
corruption type
InsufficientResources
insufficient resources error
Fields
ExportInterrupted
export interrupted error
Trait Implementations§
Source§impl Clone for ExportError
impl Clone for ExportError
Source§fn clone(&self) -> ExportError
fn clone(&self) -> ExportError
Returns a duplicate of the value. Read more
1.0.0 · 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 ExportError
impl Debug for ExportError
Source§impl Display for ExportError
impl Display for ExportError
Source§impl Error for ExportError
impl Error for ExportError
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 From<ExportError> for TrackingError
impl From<ExportError> for TrackingError
Source§fn from(error: ExportError) -> Self
fn from(error: ExportError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExportError
impl RefUnwindSafe for ExportError
impl Send for ExportError
impl Sync for ExportError
impl Unpin for ExportError
impl UnwindSafe for ExportError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more