bond-haskell-0.1.5.0: Runtime support for BOND serialization
Data.Bond.Schema.ProtocolType
newtype ProtocolType Source #
Constructors
Instances
Methods
succ :: ProtocolType -> ProtocolType #
pred :: ProtocolType -> ProtocolType #
toEnum :: Int -> ProtocolType #
fromEnum :: ProtocolType -> Int #
enumFrom :: ProtocolType -> [ProtocolType] #
enumFromThen :: ProtocolType -> ProtocolType -> [ProtocolType] #
enumFromTo :: ProtocolType -> ProtocolType -> [ProtocolType] #
enumFromThenTo :: ProtocolType -> ProtocolType -> ProtocolType -> [ProtocolType] #
(==) :: ProtocolType -> ProtocolType -> Bool #
(/=) :: ProtocolType -> ProtocolType -> Bool #
compare :: ProtocolType -> ProtocolType -> Ordering #
(<) :: ProtocolType -> ProtocolType -> Bool #
(<=) :: ProtocolType -> ProtocolType -> Bool #
(>) :: ProtocolType -> ProtocolType -> Bool #
(>=) :: ProtocolType -> ProtocolType -> Bool #
max :: ProtocolType -> ProtocolType -> ProtocolType #
min :: ProtocolType -> ProtocolType -> ProtocolType #
showsPrec :: Int -> ProtocolType -> ShowS #
show :: ProtocolType -> String #
showList :: [ProtocolType] -> ShowS #
rnf :: ProtocolType -> () #
hashWithSalt :: Int -> ProtocolType -> Int #
hash :: ProtocolType -> Int #
bondGet :: (Functor (ReaderM t), Monad (ReaderM t), Protocol t) => BondGet t ProtocolType Source #
bondPut :: (Monad (BondPutM t), Protocol t) => ProtocolType -> BondPut t Source #
getName :: Proxy * ProtocolType -> Text Source #
getQualifiedName :: Proxy * ProtocolType -> Text Source #
getElementType :: Proxy * ProtocolType -> ElementTypeInfo Source #
toName :: ProtocolType -> Maybe Text Source #
fromName :: Text -> Maybe ProtocolType Source #
defaultValue :: ProtocolType Source #
equalToDefault :: FieldTypeInfo -> ProtocolType -> Bool
mARSHALED_PROTOCOL :: ProtocolType Source #
fAST_PROTOCOL :: ProtocolType Source #
cOMPACT_PROTOCOL :: ProtocolType Source #
sIMPLE_JSON_PROTOCOL :: ProtocolType Source #
sIMPLE_PROTOCOL :: ProtocolType Source #