pub struct BatchFailure {
pub package: PackageKey,
pub stage: BatchFailureStage,
pub retryable: bool,
pub error: String,
}Expand description
Structured per-package failure details for batch operations.
Fields§
§package: PackageKeyPackage key associated with the failure.
stage: BatchFailureStageStage that produced the error.
retryable: boolWhether the failure is retryable.
error: StringError message for diagnostics.
Trait Implementations§
Source§impl Clone for BatchFailure
impl Clone for BatchFailure
Source§fn clone(&self) -> BatchFailure
fn clone(&self) -> BatchFailure
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 moreAuto Trait Implementations§
impl Freeze for BatchFailure
impl RefUnwindSafe for BatchFailure
impl Send for BatchFailure
impl Sync for BatchFailure
impl Unpin for BatchFailure
impl UnwindSafe for BatchFailure
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