| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL
Synopsis
- objectDiffusionCodec :: Codec (ObjectDiffusion ObjectId Object) DeserialiseFailure IO ByteString
- data ObjectId
- data Object
Documentation
objectDiffusionCodec :: Codec (ObjectDiffusion ObjectId Object) DeserialiseFailure IO ByteString Source #
Simple wrapper around Any matching objectId = any in the CDDL spec.
This is intentionally different from the ObjectId in
Test which wraps Maybe Word64 for the caught-up sentinel.
Instances
Simple wrapper around Any matching object = any in the CDDL spec.
Instances
| Arbitrary Object Source # | |||||
| NFData Object Source # | |||||
| Generic Object Source # | |||||
Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL Associated Types
| |||||
| Show Object Source # | |||||
| Eq Object Source # | |||||
| Serialise Object Source # | |||||
| ShowProxy Object Source # | |||||
| type Rep Object Source # | |||||
Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL type Rep Object = D1 ('MetaData "Object" "Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL" "ouroboros-network-1.1.0.0-inplace-protocols-tests-lib" 'True) (C1 ('MetaCons "Object" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Any))) | |||||