pub enum WireType {
Show 15 variants
U64,
Str,
Bytes,
Bool,
StorePath,
StringList,
StorePathList,
PathInfo,
ValidPathInfo,
DerivationOutputs,
RealisationsMap,
KeyedBuildResult,
Substitutables,
KeyValueAttrs,
BuildMode,
}Expand description
Wire-level field type — the primitive types the worker protocol
can serialise. Length-prefixed strings + 8-byte LE integers
per cppnix’s worker-protocol.cc WORKER_MAGIC framing.
Variants§
U64
8-byte little-endian unsigned integer.
Str
Length-prefixed UTF-8 string (8-byte LE length + padded bytes).
Bytes
Length-prefixed byte array.
Bool
0 = false, 1 = true; encoded as U64.
StorePath
Store path — Str semantically, but the spec calls it out so the type checker can validate path-shape.
StringList
List of strings (8-byte LE count + N Str entries).
StorePathList
List of store paths (8-byte LE count + N StorePath).
PathInfo
PathInfo structured response (multi-field).
ValidPathInfo
ValidPathInfo (a richer PathInfo variant).
DerivationOutputs
DerivationOutputs map (output-name → output-path).
RealisationsMap
RealisationsMap.
KeyedBuildResult
KeyedBuildResult (status enum + log + per-output info).
Substitutables
Substitutables — the substituter-side path-info map.
KeyValueAttrs
Free-form attrset of key=value lines.
BuildMode
Build-mode enum (Normal / Repair / Check).
Trait Implementations§
impl Copy for WireType
Source§impl<'de> Deserialize<'de> for WireType
impl<'de> Deserialize<'de> for WireType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for WireType
impl StructuralPartialEq for WireType
Auto Trait Implementations§
impl Freeze for WireType
impl RefUnwindSafe for WireType
impl Send for WireType
impl Sync for WireType
impl Unpin for WireType
impl UnsafeUnpin for WireType
impl UnwindSafe for WireType
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.