pub enum ProjectsEvent {
Show 13 variants
DesignersPoll {
open: usize,
},
DesignersProceed {
sessions: Vec<DesignerSeen>,
},
DesignersSkipped,
RunStarted {
run_id: String,
action: ProjectAction,
},
PreImageExported {
bytes: usize,
},
ImportSent {
overwrite: bool,
},
ImportAnswered,
Verified {
equal: bool,
},
RecordWritten,
RecordFailed {
code: String,
},
ChildrenSettling {
children: Vec<String>,
},
ChildChecked {
name: String,
status: ChildStatus,
},
Finished {
outcome: ProjectOutcome,
},
}Expand description
A step of a run, for the events log and the observer.
The fields are names, ids, counts and hashes only: never a project file, a secret or a gateway response body.
Variants§
DesignersPoll
The Designer list was read under --designers wait (25-14). Heard
as it happens and logged once the run directory exists.
DesignersProceed
--designers proceed went ahead over these open sessions (D-15).
Fields
sessions: Vec<DesignerSeen>(user, project, host) of each open session.
DesignersSkipped
The Designer check did not run: a record run does not touch the
project.
RunStarted
The run directory exists and the run is about to start.
PreImageExported
The live project was saved into the run directory.
ImportSent
The import request is about to be sent.
ImportAnswered
The gateway answered the import.
Verified
The project was read back and compared with the artifact.
RecordWritten
The release record was written.
RecordFailed
The release record could not be written.
ChildrenSettling
The sweep found projects that inherit from the deployed one and is reading their exports until they settle (D-06, K7).
ChildChecked
One child was compared with its release record.
Finished
The run ended.
Fields
outcome: ProjectOutcomeHow it ended.
Implementations§
Trait Implementations§
Source§impl Clone for ProjectsEvent
impl Clone for ProjectsEvent
Source§impl Debug for ProjectsEvent
impl Debug for ProjectsEvent
impl Eq for ProjectsEvent
Source§impl PartialEq for ProjectsEvent
impl PartialEq for ProjectsEvent
impl StructuralPartialEq for ProjectsEvent
Auto Trait Implementations§
impl Freeze for ProjectsEvent
impl RefUnwindSafe for ProjectsEvent
impl Send for ProjectsEvent
impl Sync for ProjectsEvent
impl Unpin for ProjectsEvent
impl UnsafeUnpin for ProjectsEvent
impl UnwindSafe for ProjectsEvent
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> 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.