Safe Haskell | None |
---|---|
Language | Haskell2010 |
Ouroboros.Network.Magic
Synopsis
- newtype NetworkMagic = NetworkMagic { }
Documentation
newtype NetworkMagic Source #
NetworkMagic is used to differentiate between different networks during the initial handshake.
Constructors
NetworkMagic | |
Fields |
Instances
Eq NetworkMagic Source # | |
Defined in Ouroboros.Network.Magic Methods (==) :: NetworkMagic -> NetworkMagic -> Bool Source # (/=) :: NetworkMagic -> NetworkMagic -> Bool Source # |
|
Show NetworkMagic Source # | |
Defined in Ouroboros.Network.Magic |
|
Generic NetworkMagic Source # | |
Defined in Ouroboros.Network.Magic Methods from :: NetworkMagic -> Rep NetworkMagic x Source # to :: Rep NetworkMagic x -> NetworkMagic Source # |
|
NoThunks NetworkMagic Source # | |
Defined in Ouroboros.Network.Magic |
|
type Rep NetworkMagic Source # | |
Defined in Ouroboros.Network.Magic
type
Rep
NetworkMagic
=
D1
('
MetaData
"NetworkMagic" "Ouroboros.Network.Magic" "ouroboros-network-0.1.0.1-2UgqzRSdBh49QYumtriFSI" '
True
) (
C1
('
MetaCons
"NetworkMagic" '
PrefixI
'
True
) (
S1
('
MetaSel
('
Just
"unNetworkMagic") '
NoSourceUnpackedness
'
NoSourceStrictness
'
DecidedLazy
) (
Rec0
Word32
)))
|