#[repr(u16)]pub enum WorkerDataPlaneFrameKind {
BuildRequest = 1,
SourceDescriptor = 2,
SourceArchive = 3,
Cancel = 4,
JobAccepted = 5,
Event = 6,
ArtifactDescriptor = 7,
Artifact = 8,
Complete = 9,
Error = 10,
ArtifactReceipt = 11,
}Expand description
Typed frame carried by the full-duplex worker data plane.
Variants§
BuildRequest = 1
Declarative crate::IosDeviceBuildRequest JSON.
SourceDescriptor = 2
Strict crate::SourceBundleDescriptor JSON.
SourceArchive = 3
Raw deterministic source ZIP bytes.
Cancel = 4
In-band cancellation request JSON.
JobAccepted = 5
Worker job acknowledgement JSON.
Event = 6
One crate::RemoteBuildEvent JSON object.
ArtifactDescriptor = 7
Strict artifact descriptor or manifest JSON.
Artifact = 8
Raw artifact bytes bound by the preceding descriptor.
Complete = 9
Terminal build and cleanup result JSON.
Error = 10
Stable secret-free error JSON.
ArtifactReceipt = 11
Client proof that the offered artifact was verified and published.
Implementations§
Source§impl WorkerDataPlaneFrameKind
impl WorkerDataPlaneFrameKind
Sourcepub const fn maximum_payload_bytes(self) -> u64
pub const fn maximum_payload_bytes(self) -> u64
Maximum payload bytes accepted for this frame kind.
Trait Implementations§
Source§impl Clone for WorkerDataPlaneFrameKind
impl Clone for WorkerDataPlaneFrameKind
impl Copy for WorkerDataPlaneFrameKind
Source§impl Debug for WorkerDataPlaneFrameKind
impl Debug for WorkerDataPlaneFrameKind
impl Eq for WorkerDataPlaneFrameKind
Source§impl PartialEq for WorkerDataPlaneFrameKind
impl PartialEq for WorkerDataPlaneFrameKind
impl StructuralPartialEq for WorkerDataPlaneFrameKind
Auto Trait Implementations§
impl Freeze for WorkerDataPlaneFrameKind
impl RefUnwindSafe for WorkerDataPlaneFrameKind
impl Send for WorkerDataPlaneFrameKind
impl Sync for WorkerDataPlaneFrameKind
impl Unpin for WorkerDataPlaneFrameKind
impl UnsafeUnpin for WorkerDataPlaneFrameKind
impl UnwindSafe for WorkerDataPlaneFrameKind
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
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
Compare self to
key and return true if they are equal.