opentracing-0.3.0: OpenTracing for Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

OpenTracing.Types

Documentation

data TraceID Source #

Constructors

TraceID 

Instances

Instances details
Show TraceID Source # 
Instance details

Defined in OpenTracing.Types

Eq TraceID Source # 
Instance details

Defined in OpenTracing.Types

Methods

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

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

Ord TraceID Source # 
Instance details

Defined in OpenTracing.Types

AsHex TraceID Source # 
Instance details

Defined in OpenTracing.Types

newtype IPv4 Source #

Constructors

IPv4 

Fields

Instances

Instances details
ToJSON IPv4 Source # 
Instance details

Defined in OpenTracing.Types

Bounded IPv4 Source # 
Instance details

Defined in OpenTracing.Types

Enum IPv4 Source # 
Instance details

Defined in OpenTracing.Types

Methods

succ :: IPv4 -> IPv4 #

pred :: IPv4 -> IPv4 #

toEnum :: Int -> IPv4 #

fromEnum :: IPv4 -> Int #

enumFrom :: IPv4 -> [IPv4] #

enumFromThen :: IPv4 -> IPv4 -> [IPv4] #

enumFromTo :: IPv4 -> IPv4 -> [IPv4] #

enumFromThenTo :: IPv4 -> IPv4 -> IPv4 -> [IPv4] #

Read IPv4 Source # 
Instance details

Defined in OpenTracing.Types

Show IPv4 Source # 
Instance details

Defined in OpenTracing.Types

Methods

showsPrec :: Int -> IPv4 -> ShowS #

show :: IPv4 -> String #

showList :: [IPv4] -> ShowS #

Eq IPv4 Source # 
Instance details

Defined in OpenTracing.Types

Methods

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

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

Ord IPv4 Source # 
Instance details

Defined in OpenTracing.Types

Methods

compare :: IPv4 -> IPv4 -> Ordering #

(<) :: IPv4 -> IPv4 -> Bool #

(<=) :: IPv4 -> IPv4 -> Bool #

(>) :: IPv4 -> IPv4 -> Bool #

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

max :: IPv4 -> IPv4 -> IPv4 #

min :: IPv4 -> IPv4 -> IPv4 #

newtype IPv6 Source #

Constructors

IPv6 

Fields

Instances

Instances details
ToJSON IPv6 Source # 
Instance details

Defined in OpenTracing.Types

Bounded IPv6 Source # 
Instance details

Defined in OpenTracing.Types

Enum IPv6 Source # 
Instance details

Defined in OpenTracing.Types

Methods

succ :: IPv6 -> IPv6 #

pred :: IPv6 -> IPv6 #

toEnum :: Int -> IPv6 #

fromEnum :: IPv6 -> Int #

enumFrom :: IPv6 -> [IPv6] #

enumFromThen :: IPv6 -> IPv6 -> [IPv6] #

enumFromTo :: IPv6 -> IPv6 -> [IPv6] #

enumFromThenTo :: IPv6 -> IPv6 -> IPv6 -> [IPv6] #

Read IPv6 Source # 
Instance details

Defined in OpenTracing.Types

Show IPv6 Source # 
Instance details

Defined in OpenTracing.Types

Methods

showsPrec :: Int -> IPv6 -> ShowS #

show :: IPv6 -> String #

showList :: [IPv6] -> ShowS #

Eq IPv6 Source # 
Instance details

Defined in OpenTracing.Types

Methods

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

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

Ord IPv6 Source # 
Instance details

Defined in OpenTracing.Types

Methods

compare :: IPv6 -> IPv6 -> Ordering #

(<) :: IPv6 -> IPv6 -> Bool #

(<=) :: IPv6 -> IPv6 -> Bool #

(>) :: IPv6 -> IPv6 -> Bool #

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

max :: IPv6 -> IPv6 -> IPv6 #

min :: IPv6 -> IPv6 -> IPv6 #

newtype Port Source #

Constructors

Port 

Fields

Instances

Instances details
ToJSON Port Source # 
Instance details

Defined in OpenTracing.Types

Enum Port Source # 
Instance details

Defined in OpenTracing.Types

Methods

succ :: Port -> Port #

pred :: Port -> Port #

toEnum :: Int -> Port #

fromEnum :: Port -> Int #

enumFrom :: Port -> [Port] #

enumFromThen :: Port -> Port -> [Port] #

enumFromTo :: Port -> Port -> [Port] #

enumFromThenTo :: Port -> Port -> Port -> [Port] #

Num Port Source # 
Instance details

Defined in OpenTracing.Types

Methods

(+) :: Port -> Port -> Port #

(-) :: Port -> Port -> Port #

(*) :: Port -> Port -> Port #

negate :: Port -> Port #

abs :: Port -> Port #

signum :: Port -> Port #

fromInteger :: Integer -> Port #

Read Port Source # 
Instance details

Defined in OpenTracing.Types

Show Port Source # 
Instance details

Defined in OpenTracing.Types

Methods

showsPrec :: Int -> Port -> ShowS #

show :: Port -> String #

showList :: [Port] -> ShowS #

Eq Port Source # 
Instance details

Defined in OpenTracing.Types

Methods

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

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

Ord Port Source # 
Instance details

Defined in OpenTracing.Types

Methods

compare :: Port -> Port -> Ordering #

(<) :: Port -> Port -> Bool #

(<=) :: Port -> Port -> Bool #

(>) :: Port -> Port -> Bool #

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

max :: Port -> Port -> Port #

min :: Port -> Port -> Port #

data Protocol Source #

Constructors

UDP 
HTTP 

data Addr a where Source #

Constructors

UDPAddr :: HostName -> Port -> Addr 'UDP 
HTTPAddr :: HostName -> Port -> Bool -> Addr 'HTTP 

data Hex Source #

Instances

Instances details
Monoid Hex Source # 
Instance details

Defined in OpenTracing.Types

Methods

mempty :: Hex #

mappend :: Hex -> Hex -> Hex #

mconcat :: [Hex] -> Hex #

Semigroup Hex Source # 
Instance details

Defined in OpenTracing.Types

Methods

(<>) :: Hex -> Hex -> Hex #

sconcat :: NonEmpty Hex -> Hex #

stimes :: Integral b => b -> Hex -> Hex #

Show Hex Source # 
Instance details

Defined in OpenTracing.Types

Methods

showsPrec :: Int -> Hex -> ShowS #

show :: Hex -> String #

showList :: [Hex] -> ShowS #

Eq Hex Source # 
Instance details

Defined in OpenTracing.Types

Methods

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

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

class AsHex a where Source #

Methods

_Hex :: Prism' Hex a Source #

Instances

Instances details
AsHex Word64 Source # 
Instance details

Defined in OpenTracing.Types

AsHex TraceID Source # 
Instance details

Defined in OpenTracing.Types