pub enum ProcessingClass {
Valid,
Failed,
Pending,
}Expand description
How a build’s processingState reads: either it’s settled (and how), or
App Store Connect is still working on it.
Variants§
Valid
VALID — processing finished and the build can be attached to a
version.
Failed
INVALID or FAILED — a binary rejection; processing is over but
the build is unusable.
Pending
PROCESSING, a missing state, or any string Apple adds later: keep
polling. Treating the unknown as pending means a new terminal state
we don’t recognize just times out rather than being reported as
success.
Implementations§
Source§impl ProcessingClass
impl ProcessingClass
Sourcepub fn is_terminal(self) -> bool
pub fn is_terminal(self) -> bool
Whether this class ends the poll. Valid and Failed are terminal;
Pending is not.
Trait Implementations§
Source§impl Clone for ProcessingClass
impl Clone for ProcessingClass
impl Copy for ProcessingClass
Source§impl Debug for ProcessingClass
impl Debug for ProcessingClass
impl Eq for ProcessingClass
Source§impl PartialEq for ProcessingClass
impl PartialEq for ProcessingClass
impl StructuralPartialEq for ProcessingClass
Auto Trait Implementations§
impl Freeze for ProcessingClass
impl RefUnwindSafe for ProcessingClass
impl Send for ProcessingClass
impl Sync for ProcessingClass
impl Unpin for ProcessingClass
impl UnsafeUnpin for ProcessingClass
impl UnwindSafe for ProcessingClass
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