pub enum PreImageFile {
Run,
Project,
Release,
Tags(String),
Provider(String),
Record(String),
Sent(String),
}Expand description
One file of the pre-image set. The names are fixed; a provider name inside one must also pass the host’s tag-record name check.
Variants§
Run
run.json, the completeness marker.
Project
project.zip, the project export.
Release
release-record.json, the project’s release record before the run
(ultrareview U1): --rollback-run puts it back. Absent when the
project had none.
Tags(String)
tags-<P>.json, a provider’s native export.
Provider(String)
provider-<P>.json, a provider’s resource record.
Record(String)
record-<P>.json, a provider’s tag record before the run.
Sent(String)
sent-<P>.json, the nodes the run’s plan adds to an existing
provider as the run sends them (26-REVIEW CR-01): a JSON object of
provider-relative path to flattened node.
Implementations§
Source§impl PreImageFile
impl PreImageFile
Sourcepub fn parse(name: &str) -> Option<PreImageFile>
pub fn parse(name: &str) -> Option<PreImageFile>
The file name names, or None for a name outside the fixed set. A
provider part must be one safe path component without a control
character.
Trait Implementations§
Source§impl Clone for PreImageFile
impl Clone for PreImageFile
Source§impl Debug for PreImageFile
impl Debug for PreImageFile
impl Eq for PreImageFile
Source§impl Ord for PreImageFile
impl Ord for PreImageFile
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for PreImageFile
impl PartialEq for PreImageFile
Source§impl PartialOrd for PreImageFile
impl PartialOrd for PreImageFile
impl StructuralPartialEq for PreImageFile
Auto Trait Implementations§
impl Forget for PreImageFile
impl Freeze for PreImageFile
impl Move for PreImageFile
impl RefUnwindSafe for PreImageFile
impl Send for PreImageFile
impl Sync for PreImageFile
impl Unpin for PreImageFile
impl UnsafeUnpin for PreImageFile
impl UnwindSafe for PreImageFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.