| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
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 #
Instances
data TransportExn Source #
Constructors
| TransportExn String TransportExnType |
Instances
| Show TransportExn Source # | |
Defined in Thrift.Transport Methods showsPrec :: Int -> TransportExn -> ShowS # show :: TransportExn -> String # showList :: [TransportExn] -> ShowS # | |
| Exception TransportExn Source # | |
Defined in Thrift.Transport Methods toException :: TransportExn -> SomeException # fromException :: SomeException -> Maybe TransportExn # displayException :: TransportExn -> String # | |
data TransportExnType Source #
Constructors
| TE_UNKNOWN | |
| TE_NOT_OPEN | |
| TE_ALREADY_OPEN | |
| TE_TIMED_OUT | |
| TE_END_OF_FILE |
Instances
| Eq TransportExnType Source # | |
Defined in Thrift.Transport Methods (==) :: TransportExnType -> TransportExnType -> Bool # (/=) :: TransportExnType -> TransportExnType -> Bool # | |
| Show TransportExnType Source # | |
Defined in Thrift.Transport Methods showsPrec :: Int -> TransportExnType -> ShowS # show :: TransportExnType -> String # showList :: [TransportExnType] -> ShowS # | |