dbus-1.4.1: A client library for the D-Bus IPC system.

Safe Haskell | None
Language | Haskell2010

DBus.Internal.Wire

# Documentation

data Endianness Source #

Constructors

LittleEndian |
BigEndian |

#### Instances

Instances details

Show Endianness Source # |
Instance details Defined in DBus.Internal.Wire Methods showsPrec :: Int -> Endianness -> ShowS Source # show :: Endianness -> String Source # showList :: [Endianness] -> ShowS Source #
Eq Endianness Source # |
Instance details Defined in DBus.Internal.Wire Methods (==) :: Endianness -> Endianness -> Bool Source # (/=) :: Endianness -> Endianness -> Bool Source #

data MarshalError Source #

#### Instances

Instances details

Show MarshalError Source # |
Instance details Defined in DBus.Internal.Wire Methods showsPrec :: Int -> MarshalError -> ShowS Source # show :: MarshalError -> String Source # showList :: [MarshalError] -> ShowS Source #
Eq MarshalError Source # |
Instance details Defined in DBus.Internal.Wire Methods (==) :: MarshalError -> MarshalError -> Bool Source # (/=) :: MarshalError -> MarshalError -> Bool Source #

marshalErrorMessage :: MarshalError -> String Source #

data UnmarshalError Source #

#### Instances

Instances details

Show UnmarshalError Source # |
Instance details Defined in DBus.Internal.Wire Methods showsPrec :: Int -> UnmarshalError -> ShowS Source # show :: UnmarshalError -> String Source # showList :: [UnmarshalError] -> ShowS Source #
Eq UnmarshalError Source # |
Instance details Defined in DBus.Internal.Wire Methods (==) :: UnmarshalError -> UnmarshalError -> Bool Source # (/=) :: UnmarshalError -> UnmarshalError -> Bool Source #

unmarshalErrorMessage :: UnmarshalError -> String Source #

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 #