pub enum ReleaseStatus {
Complete(Manifest),
Incomplete {
manifest: Manifest,
missing_artifacts: Vec<String>,
},
Unknown,
}Expand description
Verdict produced by the reconciler against a tag’s remote state.
Variants§
Complete(Manifest)
Manifest present — release is proven complete.
Incomplete
Manifest present but the declared artifacts don’t match what’s on the
release (e.g. the manifest lists sr-linux.tar.gz but the release has
no asset with that name). Indicates a partial re-upload.
Unknown
No manifest asset on this release. Could be legacy (predates sr-manifest) or could be an sr release that died before the manifest was written. Reconciler can’t distinguish these; warns instead of blocking.
Implementations§
Source§impl ReleaseStatus
impl ReleaseStatus
pub fn is_complete(&self) -> bool
Trait Implementations§
Source§impl Clone for ReleaseStatus
impl Clone for ReleaseStatus
Source§fn clone(&self) -> ReleaseStatus
fn clone(&self) -> ReleaseStatus
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 ReleaseStatus
impl RefUnwindSafe for ReleaseStatus
impl Send for ReleaseStatus
impl Sync for ReleaseStatus
impl Unpin for ReleaseStatus
impl UnsafeUnpin for ReleaseStatus
impl UnwindSafe for ReleaseStatus
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