Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Packet | |
|
Instances
Eq payload => Eq (Packet payload) Source # | |
Read payload => Read (Packet payload) Source # | |
Show payload => Show (Packet payload) Source # | |
Generic (Packet payload) Source # | |
Arbitrary payload => Arbitrary (Packet payload) Source # | |
Binary payload => Binary (Packet payload) Source # | |
MessagePack payload => MessagePack (Packet payload) Source # | |
Defined in Network.Tox.Protocol.Packet toObject :: Config -> Packet payload -> Object # fromObjectWith :: (Applicative m, Monad m, MonadValidate DecodeError m) => Config -> Object -> m (Packet payload) # | |
type Rep (Packet payload) Source # | |
Defined in Network.Tox.Protocol.Packet type Rep (Packet payload) = D1 ('MetaData "Packet" "Network.Tox.Protocol.Packet" "toxcore-0.2.12-inplace" 'False) (C1 ('MetaCons "Packet" 'PrefixI 'True) (S1 ('MetaSel ('Just "packetKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PacketKind) :*: S1 ('MetaSel ('Just "packetPayload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 payload))) |