Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
System.Nix.Store.Remote.Types.Activity
Synopsis
- data Activity
- newtype ActivityID = ActivityID {
- unActivityID :: Int
- data ActivityResult
Documentation
Type of the activity
We don't have Activity_Unknown here
as we can do Maybe Activity
and Nothing
corresponding to Unknown (which has 0 value)
Rest of the values are offset by (+100)
on the wire, i.e.:
Activity_CopyPath = 100
Activity_BuildWaiting = 111
Constructors
Instances
Arbitrary Activity Source # | |
Bounded Activity Source # | |
Enum Activity Source # | |
Defined in System.Nix.Store.Remote.Types.Activity | |
Generic Activity Source # | |
Show Activity Source # | |
Eq Activity Source # | |
Ord Activity Source # | |
Defined in System.Nix.Store.Remote.Types.Activity | |
type Rep Activity Source # | |
Defined in System.Nix.Store.Remote.Types.Activity type Rep Activity = D1 ('MetaData "Activity" "System.Nix.Store.Remote.Types.Activity" "hnix-store-remote-0.7.0.0-3KzMSkqSXnCD71veVOrNoM" 'False) (((C1 ('MetaCons "Activity_CopyPath" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Activity_FileTransfer" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Activity_Realise" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Activity_CopyPaths" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Activity_Builds" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Activity_Build" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Activity_OptimiseStore" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Activity_VerifyPaths" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Activity_Substitute" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Activity_QueryPathInfo" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Activity_PostBuildHook" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Activity_BuildWaiting" 'PrefixI 'False) (U1 :: Type -> Type))))) |
newtype ActivityID Source #
Numeric ID of the activity
Constructors
ActivityID | |
Fields
|
Instances
data ActivityResult Source #
Result of some activity
The values are offset by (+100)
on the wire, i.e.:
ActivityResult_FileLinked = 100
ActivityResult_PostBuildLogLine = 107
Constructors