Skip to main content

RemoteBuildEventKind

Enum RemoteBuildEventKind 

Source
pub enum RemoteBuildEventKind {
Show 25 variants OperationStarted { command: String, }, JobCreated { state: JobState, }, JobQueued { position: Option<u64>, }, WorkerAssigned { worker_id: String, }, SourcePrepared { file_count: u64, total_bytes: u64, }, SourceUploadStarted { total_bytes: u64, }, SourceUploadProgress { uploaded_bytes: u64, total_bytes: u64, }, SourceVerified { sha256: String, }, PhaseStarted { message: Option<String>, }, Progress { message: String, current: Option<u64>, total: Option<u64>, }, CommandStarted { tool: String, arguments: Vec<String>, }, Diagnostic { diagnostic: RemoteDiagnostic, }, SigningStarted { mode: SigningMode, }, ArtifactCreated { artifact_id: String, artifact_type: IosArtifactType, }, ArtifactValidated { artifact: ArtifactManifest, }, ArtifactUploadStarted { artifact_id: String, total_bytes: u64, }, ArtifactDownloadStarted { artifact_id: String, total_bytes: u64, }, ArtifactDownloadProgress { artifact_id: String, downloaded_bytes: u64, total_bytes: u64, }, ArtifactDownloaded { artifact: ArtifactManifest, local_path: ProtocolPath, }, Warning { code: String, message: String, help: Option<String>, }, CleanupStarted, CleanupFinished { confirmation: CleanupConfirmation, }, OperationFinished { success: bool, duration_ms: u64, result: Option<IosDeviceBuildResult>, error: Option<RemoteErrorInfo>, }, OperationCancelled { reason: String, duration_ms: u64, }, Unknown,
}
Expand description

Typed Ferry Remote Build Protocol v1 event payload.

Variants§

§

OperationStarted

Operation boundary opened.

Fields

§command: String

Stable command name.

§

JobCreated

Provider allocated a job.

Fields

§state: JobState

Initial job state; must be created.

§

JobQueued

Job entered the provider queue.

Fields

§position: Option<u64>

One-based queue position when known.

§

WorkerAssigned

A concrete worker accepted the job.

Fields

§worker_id: String

Stable, non-secret worker identifier.

§

SourcePrepared

Source manifest was converted into a bounded upload.

Fields

§file_count: u64

Included file count.

§total_bytes: u64

Total uncompressed source bytes.

§

SourceUploadStarted

Source upload opened.

Fields

§total_bytes: u64

Expected upload byte count.

§

SourceUploadProgress

Source upload advanced.

Fields

§uploaded_bytes: u64

Uploaded byte count.

§total_bytes: u64

Expected upload byte count.

§

SourceVerified

Worker verified the exact submitted source.

Fields

§sha256: String

Lowercase SHA-256 digest of the source bundle or Git manifest.

§

PhaseStarted

Named build phase opened.

Fields

§message: Option<String>

Optional safe UI text.

§

Progress

Bounded progress update.

Fields

§message: String

Human-readable safe progress summary.

§current: Option<u64>

Completed unit count.

§total: Option<u64>

Total unit count.

§

CommandStarted

Sanitized external-tool boundary.

Fields

§tool: String

Executable name, never a shell command string.

§arguments: Vec<String>

Tokenized arguments after provider redaction.

§

Diagnostic

Structured compiler, signing, or validation diagnostic.

Fields

§diagnostic: RemoteDiagnostic

Diagnostic payload.

§

SigningStarted

Signing phase opened without exposing secret values.

Fields

§mode: SigningMode

Selected signing mode.

§

ArtifactCreated

Worker created a candidate artifact.

Fields

§artifact_id: String

Stable artifact identifier.

§artifact_type: IosArtifactType

Candidate artifact type.

§

ArtifactValidated

Worker independently validated an artifact.

Fields

§artifact: ArtifactManifest

Full integrity and provenance manifest.

§

ArtifactUploadStarted

Provider artifact upload opened.

Fields

§artifact_id: String

Stable artifact identifier.

§total_bytes: u64

Expected upload byte count.

§

ArtifactDownloadStarted

Client artifact download opened.

Fields

§artifact_id: String

Stable artifact identifier.

§total_bytes: u64

Expected download byte count.

§

ArtifactDownloadProgress

Client artifact download advanced.

Fields

§artifact_id: String

Stable artifact identifier.

§downloaded_bytes: u64

Downloaded byte count.

§total_bytes: u64

Expected download byte count.

§

ArtifactDownloaded

Client downloaded and hash-verified an artifact.

Fields

§artifact: ArtifactManifest

Verified artifact manifest.

§local_path: ProtocolPath

Absolute destination on the client.

§

Warning

Non-fatal provider warning.

Fields

§code: String

Stable namespaced warning code.

§message: String

Sanitized summary.

§help: Option<String>

Optional concrete remediation.

§

CleanupStarted

Provider cleanup opened.

§

CleanupFinished

Provider cleanup completed.

Fields

§confirmation: CleanupConfirmation

Cleanup proof.

§

OperationFinished

Operation completed, including typed failure.

Fields

§success: bool

Whether every required phase succeeded.

§duration_ms: u64

Monotonic operation duration.

§result: Option<IosDeviceBuildResult>

Build result when this was a build operation.

§error: Option<RemoteErrorInfo>

Typed failure when success is false.

§

OperationCancelled

Operation stopped after cancellation.

Fields

§reason: String

Stable cancellation reason.

§duration_ms: u64

Monotonic operation duration.

§

Unknown

A same-major future event ignored by this reader.

Implementations§

Source§

impl RemoteBuildEventKind

Source

pub const fn event_name(&self) -> &'static str

Stable serialized event name.

Trait Implementations§

Source§

impl Clone for RemoteBuildEventKind

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RemoteBuildEventKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for RemoteBuildEventKind

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl JsonSchema for RemoteBuildEventKind

Source§

fn schema_name() -> Cow<'static, str>

The name of the generated JSON Schema. Read more
Source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
Source§

fn inline_schema() -> bool

Whether JSON Schemas generated for this type should be included directly in parent schemas, rather than being re-used where possible using the $ref keyword. Read more
Source§

impl PartialEq for RemoteBuildEventKind

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for RemoteBuildEventKind

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for RemoteBuildEventKind

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.