ouroboros-network:protocols-tests-lib
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

Synopsis

Documentation

data ObjectId 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

Instances details
Arbitrary ObjectId Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

NFData ObjectId Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

Methods

rnf :: ObjectId -> () #

Generic ObjectId Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

Associated Types

type Rep ObjectId 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

type Rep ObjectId = D1 ('MetaData "ObjectId" "Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL" "ouroboros-network-1.1.0.0-inplace-protocols-tests-lib" 'True) (C1 ('MetaCons "ObjectId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Any)))

Methods

from :: ObjectId -> Rep ObjectId x #

to :: Rep ObjectId x -> ObjectId #

Show ObjectId Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

Eq ObjectId Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

Ord ObjectId Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

Serialise ObjectId Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

ShowProxy ObjectId Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

type Rep ObjectId Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

type Rep ObjectId = D1 ('MetaData "ObjectId" "Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL" "ouroboros-network-1.1.0.0-inplace-protocols-tests-lib" 'True) (C1 ('MetaCons "ObjectId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Any)))

data Object Source #

Simple wrapper around Any matching object = any in the CDDL spec.

Instances

Instances details
Arbitrary Object Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

NFData Object Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

Methods

rnf :: Object -> () #

Generic Object Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

Associated Types

type Rep Object 
Instance details

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)))

Methods

from :: Object -> Rep Object x #

to :: Rep Object x -> Object #

Show Object Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

Eq Object Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

Methods

(==) :: Object -> Object -> Bool #

(/=) :: Object -> Object -> Bool #

Serialise Object Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

ShowProxy Object Source # 
Instance details

Defined in Ouroboros.Network.Protocol.ObjectDiffusion.Codec.CDDL

type Rep Object Source # 
Instance details

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)))