| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell98 |
Thrift.Transport
Documentation
class Transport a where Source
Methods
tIsOpen :: a -> IO Bool Source
tRead :: a -> Int -> IO ByteString Source
tPeek :: a -> IO (Maybe Word8) Source
tWrite :: a -> ByteString -> IO () Source
tReadAll :: a -> Int -> IO ByteString Source
Instances
data TransportExnType Source
Constructors
| TE_UNKNOWN | |
| TE_NOT_OPEN | |
| TE_ALREADY_OPEN | |
| TE_TIMED_OUT | |
| TE_END_OF_FILE |
Instances