Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class Transport a where Source #
tIsOpen :: a -> IO Bool Source #
tRead :: a -> Int -> IO ByteString Source #
tPeek :: a -> IO (Maybe Word8) Source #
tWrite :: a -> ByteString -> IO () Source #
Instances
data TransportExn Source #
Instances
Show TransportExn Source # | |
Defined in Thrift.Transport showsPrec :: Int -> TransportExn -> ShowS # show :: TransportExn -> String # showList :: [TransportExn] -> ShowS # | |
Exception TransportExn Source # | |
Defined in Thrift.Transport |
data TransportExnType Source #
Instances
Eq TransportExnType Source # | |
Defined in Thrift.Transport (==) :: TransportExnType -> TransportExnType -> Bool # (/=) :: TransportExnType -> TransportExnType -> Bool # | |
Show TransportExnType Source # | |
Defined in Thrift.Transport showsPrec :: Int -> TransportExnType -> ShowS # show :: TransportExnType -> String # showList :: [TransportExnType] -> ShowS # |