Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
DBus.Internal.Wire
Documentation
data Endianness Source #
Constructors
LittleEndian | |
BigEndian |
Instances
Show Endianness Source # | |
Defined in DBus.Internal.Wire Methods showsPrec :: Int -> Endianness -> ShowS show :: Endianness -> String showList :: [Endianness] -> ShowS | |
Eq Endianness Source # | |
Defined in DBus.Internal.Wire |
data MarshalError Source #
Instances
Show MarshalError Source # | |
Defined in DBus.Internal.Wire Methods showsPrec :: Int -> MarshalError -> ShowS show :: MarshalError -> String showList :: [MarshalError] -> ShowS | |
Eq MarshalError Source # | |
Defined in DBus.Internal.Wire |
marshalErrorMessage :: MarshalError -> String Source #
data UnmarshalError Source #
Instances
Show UnmarshalError Source # | |
Defined in DBus.Internal.Wire Methods showsPrec :: Int -> UnmarshalError -> ShowS show :: UnmarshalError -> String showList :: [UnmarshalError] -> ShowS | |
Eq UnmarshalError Source # | |
Defined in DBus.Internal.Wire Methods (==) :: UnmarshalError -> UnmarshalError -> Bool (/=) :: UnmarshalError -> UnmarshalError -> Bool |
unmarshalErrorMessage :: UnmarshalError -> String Source #
marshalMessage :: Message a => Endianness -> Serial -> a -> Either MarshalError ByteString Source #
unmarshalMessage :: ByteString -> Either UnmarshalError ReceivedMessage Source #
unmarshalMessageM :: Monad m => (Int -> m ByteString) -> m (Either UnmarshalError ReceivedMessage) Source #