pub enum IcSnapshotDataUploadPlanningError {
InvalidChunkSize,
CountOverflow,
InsufficientAllowance {
required: u64,
original: u32,
},
OriginalMismatch,
NoDataWrites,
Plan(OperationPlanError),
Graph(EffectGraphError),
Workflow(ExecutionWorkflowError),
Upload(IcSnapshotUploadError),
Budget(AttemptJournalRecordError),
}Expand description
Planning rejection changes no source bytes, journal, allowance or remote effects.
Variants§
InvalidChunkSize
Chunk size is outside the existing 1..=1 MiB data boundary.
CountOverflow
Complete declared extent counts overflow nat64 or host indexing.
InsufficientAllowance
Complete data writes cannot fit their original stage allocation.
Fields
OriginalMismatch
Original context, source, allocation, request or predecessor evidence differs.
NoDataWrites
Empty data has no placeholder child plan or checkpoint.
Plan(OperationPlanError)
Existing immutable operation plan admission.
Graph(EffectGraphError)
Existing explicit graph admission.
Workflow(ExecutionWorkflowError)
Existing original stage binding admission.
Upload(IcSnapshotUploadError)
Existing exact source/destination codec admission.
Budget(AttemptJournalRecordError)
Existing original per-operation attempt admission.
Trait Implementations§
Source§impl Error for IcSnapshotDataUploadPlanningError
impl Error for IcSnapshotDataUploadPlanningError
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<AttemptJournalRecordError> for IcSnapshotDataUploadPlanningError
impl From<AttemptJournalRecordError> for IcSnapshotDataUploadPlanningError
Source§fn from(source: AttemptJournalRecordError) -> Self
fn from(source: AttemptJournalRecordError) -> Self
Converts to this type from the input type.
Source§impl From<EffectGraphError> for IcSnapshotDataUploadPlanningError
impl From<EffectGraphError> for IcSnapshotDataUploadPlanningError
Source§fn from(source: EffectGraphError) -> Self
fn from(source: EffectGraphError) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionWorkflowError> for IcSnapshotDataUploadPlanningError
impl From<ExecutionWorkflowError> for IcSnapshotDataUploadPlanningError
Source§fn from(source: ExecutionWorkflowError) -> Self
fn from(source: ExecutionWorkflowError) -> Self
Converts to this type from the input type.
Source§impl From<IcSnapshotDataUploadPlanningError> for IcSnapshotDataUploadPreparationError
impl From<IcSnapshotDataUploadPlanningError> for IcSnapshotDataUploadPreparationError
Source§fn from(source: IcSnapshotDataUploadPlanningError) -> Self
fn from(source: IcSnapshotDataUploadPlanningError) -> Self
Converts to this type from the input type.
Source§impl<E: Error + 'static> From<IcSnapshotDataUploadPlanningError> for IcSnapshotDataUploadExecutionError<E>
impl<E: Error + 'static> From<IcSnapshotDataUploadPlanningError> for IcSnapshotDataUploadExecutionError<E>
Source§fn from(source: IcSnapshotDataUploadPlanningError) -> Self
fn from(source: IcSnapshotDataUploadPlanningError) -> Self
Converts to this type from the input type.
Source§impl From<IcSnapshotUploadError> for IcSnapshotDataUploadPlanningError
impl From<IcSnapshotUploadError> for IcSnapshotDataUploadPlanningError
Source§fn from(source: IcSnapshotUploadError) -> Self
fn from(source: IcSnapshotUploadError) -> Self
Converts to this type from the input type.
Source§impl From<OperationPlanError> for IcSnapshotDataUploadPlanningError
impl From<OperationPlanError> for IcSnapshotDataUploadPlanningError
Source§fn from(source: OperationPlanError) -> Self
fn from(source: OperationPlanError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IcSnapshotDataUploadPlanningError
impl RefUnwindSafe for IcSnapshotDataUploadPlanningError
impl Send for IcSnapshotDataUploadPlanningError
impl Sync for IcSnapshotDataUploadPlanningError
impl Unpin for IcSnapshotDataUploadPlanningError
impl UnsafeUnpin for IcSnapshotDataUploadPlanningError
impl UnwindSafe for IcSnapshotDataUploadPlanningError
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