Network.Tox.DHT.PingPacket
data PingPacket Source #
Constructors
Defined in Network.Tox.DHT.PingPacket
Methods
(==) :: PingPacket -> PingPacket -> Bool #
(/=) :: PingPacket -> PingPacket -> Bool #
readsPrec :: Int -> ReadS PingPacket #
readList :: ReadS [PingPacket] #
readPrec :: ReadPrec PingPacket #
readListPrec :: ReadPrec [PingPacket] #
showsPrec :: Int -> PingPacket -> ShowS #
show :: PingPacket -> String #
showList :: [PingPacket] -> ShowS #
Associated Types
type Rep PingPacket :: Type -> Type #
from :: PingPacket -> Rep PingPacket x #
to :: Rep PingPacket x -> PingPacket #
arbitrary :: Gen PingPacket #
shrink :: PingPacket -> [PingPacket] #
put :: PingPacket -> Put #
get :: Get PingPacket #
putList :: [PingPacket] -> Put #
toObject :: Config -> PingPacket -> Object #
fromObjectWith :: (Applicative m, Monad m, MonadValidate DecodeError m) => Config -> Object -> m PingPacket #