Skip to main content

RemoteProtocolV1Document

Enum RemoteProtocolV1Document 

Source
pub enum RemoteProtocolV1Document {
Show 29 variants HandshakeRequest(HandshakeRequest), HandshakeResponse(HandshakeResponse), ProviderDoctorRequest(ProviderDoctorRequest), ProviderDoctorReport(ProviderDoctorReport), IosDeviceBuildRequest(IosDeviceBuildRequest), CompileHandoff(CompileHandoff), SnapshotBuildStart(SnapshotBuildStart), SourceBundleDescriptor(SourceBundleDescriptor), GitSnapshotDescriptor(GitSnapshotDescriptor), SnapshotJobAccepted(SnapshotJobAccepted), SnapshotArtifactDescriptor(SnapshotArtifactDescriptor), SnapshotArtifactReceipt(SnapshotArtifactReceipt), SnapshotBuildComplete(SnapshotBuildComplete), SnapshotSessionError(SnapshotSessionError), CompilePhaseEvidence(CompilePhaseEvidence), SealedUnsignedArchive(SealedUnsignedArchive), JobHandle(JobHandle), RemoteBuildEvent(RemoteBuildEvent), EventPage(EventPage), EventRequest(EventRequest), CancellationRequest(CancellationRequest), CancellationAck(CancellationAck), ArtifactListRequest(ArtifactListRequest), ArtifactDownloadRequest(ArtifactDownloadRequest), ArtifactDownloadResult(ArtifactDownloadResult), CleanupRequest(CleanupRequest), CleanupConfirmation(CleanupConfirmation), IosDeviceBuildResult(IosDeviceBuildResult), ArtifactManifest(ArtifactManifest),
}
Expand description

Every standalone document exchanged or persisted by protocol v1.

The generated schema is a catalog expressed as anyOf; transport operations still determine which concrete document is valid at each boundary.

Variants§

§

HandshakeRequest(HandshakeRequest)

Client-to-provider compatibility request.

§

HandshakeResponse(HandshakeResponse)

Provider-to-client compatibility response.

§

ProviderDoctorRequest(ProviderDoctorRequest)

Client-to-provider readiness request.

§

ProviderDoctorReport(ProviderDoctorReport)

Provider-to-client readiness report.

§

IosDeviceBuildRequest(IosDeviceBuildRequest)

Declarative physical-iPhone build request.

§

CompileHandoff(CompileHandoff)

Complete public compile-to-sign handoff.

§

SnapshotBuildStart(SnapshotBuildStart)

Initial declaration for one SSH snapshot session.

§

SourceBundleDescriptor(SourceBundleDescriptor)

Separately framed deterministic source descriptor.

§

GitSnapshotDescriptor(GitSnapshotDescriptor)

Operation-bound descriptor for one GitHub dirty-source snapshot.

§

SnapshotJobAccepted(SnapshotJobAccepted)

Worker acknowledgement for one snapshot job.

§

SnapshotArtifactDescriptor(SnapshotArtifactDescriptor)

Unsigned archive descriptor and compile evidence.

§

SnapshotArtifactReceipt(SnapshotArtifactReceipt)

Client proof of durable independent artifact verification.

§

SnapshotBuildComplete(SnapshotBuildComplete)

Terminal non-retaining snapshot cleanup proof.

§

SnapshotSessionError(SnapshotSessionError)

Secret-free terminal snapshot failure.

§

CompilePhaseEvidence(CompilePhaseEvidence)

Public credential-free compile evidence.

§

SealedUnsignedArchive(SealedUnsignedArchive)

Sealed unsigned archive descriptor.

§

JobHandle(JobHandle)

Accepted provider job handle.

§

RemoteBuildEvent(RemoteBuildEvent)

One NDJSON event envelope.

§

EventPage(EventPage)

Bounded event page.

§

EventRequest(EventRequest)

Event-page request.

§

CancellationRequest(CancellationRequest)

Cancellation request.

§

CancellationAck(CancellationAck)

Cancellation acknowledgement.

§

ArtifactListRequest(ArtifactListRequest)

Artifact-list request.

§

ArtifactDownloadRequest(ArtifactDownloadRequest)

Artifact download request.

§

ArtifactDownloadResult(ArtifactDownloadResult)

Verified artifact download result.

§

CleanupRequest(CleanupRequest)

Provider cleanup request.

§

CleanupConfirmation(CleanupConfirmation)

Provider cleanup proof.

§

IosDeviceBuildResult(IosDeviceBuildResult)

Terminal build result.

§

ArtifactManifest(ArtifactManifest)

Persisted artifact provenance and integrity manifest.

Trait Implementations§

Source§

impl JsonSchema for RemoteProtocolV1Document

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

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> 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, 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.