ouroboros-network-protocols:testlib
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Network.Protocol.BlockFetch.Codec.CDDL

Documentation

newtype Block Source #

Constructors

Block Any 

Instances

Instances details
Arbitrary Block Source # 
Instance details

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

Methods

arbitrary :: Gen Block #

shrink :: Block -> [Block] #

NFData Block Source # 
Instance details

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

Methods

rnf :: Block -> () #

Generic Block Source # 
Instance details

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

Associated Types

type Rep Block 
Instance details

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

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

Methods

from :: Block -> Rep Block x #

to :: Rep Block x -> Block #

Show Block Source # 
Instance details

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

Methods

showsPrec :: Int -> Block -> ShowS #

show :: Block -> String #

showList :: [Block] -> ShowS #

Eq Block Source # 
Instance details

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

Methods

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

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

Serialise Block Source # 
Instance details

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

type Rep Block Source # 
Instance details

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

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

newtype BlockPoint Source #

Constructors

BlockPoint Any 

Instances

Instances details
Arbitrary BlockPoint Source # 
Instance details

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

NFData BlockPoint Source # 
Instance details

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

Methods

rnf :: BlockPoint -> () #

Generic BlockPoint Source # 
Instance details

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

Associated Types

type Rep BlockPoint 
Instance details

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

type Rep BlockPoint = D1 ('MetaData "BlockPoint" "Ouroboros.Network.Protocol.BlockFetch.Codec.CDDL" "ouroboros-network-protocols-0.10.0.2-inplace-testlib" 'True) (C1 ('MetaCons "BlockPoint" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Any)))
Show BlockPoint Source # 
Instance details

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

Eq BlockPoint Source # 
Instance details

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

Serialise BlockPoint Source # 
Instance details

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

type Rep BlockPoint Source # 
Instance details

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

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