Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data FireForget msg where
- StIdle :: FireForget msg
- StDone :: FireForget msg
- codecFireForget :: forall a m. (MonadST m, ToCBOR a, FromCBOR a) => Codec (FireForget a) DeserialiseFailure m LByteString
Documentation
data FireForget msg where Source #
TODO explain Protocol
It is used both as a type level tag for the protocol and as the kind of the
types of the states in the protocol state machine. That is FireForget
is a
kind, and StIdle
is a type of that kind.
StIdle :: FireForget msg | |
StDone :: FireForget msg |
Instances
ShowProxy (FireForget msg :: Type) Source # | |
Defined in Hydra.Network.Ouroboros.Type showProxy :: Proxy (FireForget msg) -> String | |
Show (ClientHasAgency st) Source # | |
Show (ServerHasAgency st) Source # | |
Protocol (FireForget msg) Source # | |
Defined in Hydra.Network.Ouroboros.Type data Message (FireForget msg) st st' data ClientHasAgency st data ServerHasAgency st data NobodyHasAgency st exclusionLemma_ClientAndServerHaveAgency :: forall (st :: FireForget msg). ClientHasAgency st -> ServerHasAgency st -> Void exclusionLemma_NobodyAndClientHaveAgency :: forall (st :: FireForget msg). NobodyHasAgency st -> ClientHasAgency st -> Void exclusionLemma_NobodyAndServerHaveAgency :: forall (st :: FireForget msg). NobodyHasAgency st -> ServerHasAgency st -> Void | |
Show msg => Show (Message (FireForget msg) from to) Source # | |
Defined in Hydra.Network.Ouroboros.Type | |
Eq msg => Eq (Message (FireForget msg) from to) Source # | |
Defined in Hydra.Network.Ouroboros.Type (==) :: Message (FireForget msg) from to -> Message (FireForget msg) from to -> Bool Source # (/=) :: Message (FireForget msg) from to -> Message (FireForget msg) from to -> Bool Source # | |
data ClientHasAgency (st :: FireForget msg) Source # | |
Defined in Hydra.Network.Ouroboros.Type data ClientHasAgency (st :: FireForget msg) where
| |
data Message (FireForget msg) (from :: FireForget msg) (to :: FireForget msg) Source # | |
Defined in Hydra.Network.Ouroboros.Type data Message (FireForget msg) (from :: FireForget msg) (to :: FireForget msg) where
| |
data NobodyHasAgency (st :: FireForget msg) Source # | |
Defined in Hydra.Network.Ouroboros.Type data NobodyHasAgency (st :: FireForget msg) where
| |
data ServerHasAgency (st :: FireForget msg) Source # | |
Defined in Hydra.Network.Ouroboros.Type data ServerHasAgency (st :: FireForget msg) |
codecFireForget :: forall a m. (MonadST m, ToCBOR a, FromCBOR a) => Codec (FireForget a) DeserialiseFailure m LByteString Source #