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 |
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 # |
marshalMessage :: Message a => Endianness -> Serial -> a -> Either MarshalError (ByteString, [Fd]) Source #
unmarshalMessage :: ByteString -> [Fd] -> Either UnmarshalError ReceivedMessage Source #
unmarshalMessageM :: Monad m => (Int -> m (ByteString, [Fd])) -> m (Either UnmarshalError ReceivedMessage) Source #