#[non_exhaustive]#[repr(u64)]pub enum WorkerOp {
Show 42 variants
IsValidPath = 1,
HasSubstitutes = 3,
QueryPathHash = 4,
QueryReferences = 5,
QueryReferrers = 6,
AddToStore = 7,
AddTextToStore = 8,
BuildPaths = 9,
EnsurePath = 10,
AddTempRoot = 11,
AddIndirectRoot = 12,
SyncWithGC = 13,
FindRoots = 14,
ExportPath = 16,
QueryDeriver = 18,
SetOptions = 19,
CollectGarbage = 20,
QuerySubstitutablePathInfo = 21,
QueryDerivationOutputs = 22,
QueryAllValidPaths = 23,
QueryFailedPaths = 24,
ClearFailedPaths = 25,
QueryPathInfo = 26,
ImportPaths = 27,
QueryDerivationOutputNames = 28,
QueryPathFromHashPart = 29,
QuerySubstitutablePathInfos = 30,
QueryValidPaths = 31,
QuerySubstitutablePaths = 32,
QueryValidDerivers = 33,
OptimiseStore = 34,
VerifyStore = 35,
BuildDerivation = 36,
AddSignatures = 37,
NarFromPath = 38,
AddToStoreNar = 39,
QueryMissing = 40,
QueryDerivationOutputMap = 41,
RegisterDrvOutput = 42,
QueryRealisation = 43,
AddMultipleToStore = 44,
AddBuildLog = 45,
}Expand description
Worker protocol operation codes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
IsValidPath = 1
HasSubstitutes = 3
QueryPathHash = 4
QueryReferences = 5
QueryReferrers = 6
AddToStore = 7
AddTextToStore = 8
BuildPaths = 9
EnsurePath = 10
AddTempRoot = 11
AddIndirectRoot = 12
SyncWithGC = 13
FindRoots = 14
ExportPath = 16
QueryDeriver = 18
SetOptions = 19
CollectGarbage = 20
QuerySubstitutablePathInfo = 21
QueryDerivationOutputs = 22
QueryAllValidPaths = 23
QueryFailedPaths = 24
ClearFailedPaths = 25
QueryPathInfo = 26
ImportPaths = 27
QueryDerivationOutputNames = 28
QueryPathFromHashPart = 29
QuerySubstitutablePathInfos = 30
QueryValidPaths = 31
QuerySubstitutablePaths = 32
QueryValidDerivers = 33
OptimiseStore = 34
VerifyStore = 35
BuildDerivation = 36
AddSignatures = 37
NarFromPath = 38
AddToStoreNar = 39
QueryMissing = 40
QueryDerivationOutputMap = 41
RegisterDrvOutput = 42
QueryRealisation = 43
AddMultipleToStore = 44
AddBuildLog = 45
Implementations§
Trait Implementations§
impl Copy for WorkerOp
impl Eq for WorkerOp
impl StructuralPartialEq for WorkerOp
Auto Trait Implementations§
impl Freeze for WorkerOp
impl RefUnwindSafe for WorkerOp
impl Send for WorkerOp
impl Sync for WorkerOp
impl Unpin for WorkerOp
impl UnsafeUnpin for WorkerOp
impl UnwindSafe for WorkerOp
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