gi-gio-2.0.32: Gio bindings

Copyright | Will Thompson and Iñaki García Etxebarria
License | LGPL-2.1
Maintainer | Iñaki García Etxebarria
Safe Haskell | Safe-Inferred
Language | Haskell2010

GI.Gio.Enums

Contents

- Enumerations
  - BusType
  - ConverterResult
  - CredentialsType
  - DBusError
  - DBusMessageByteOrder
  - DBusMessageHeaderField
  - DBusMessageType
  - DataStreamByteOrder
  - DataStreamNewlineType
  - DriveStartStopType
  - EmblemOrigin
  - FileAttributeStatus
  - FileAttributeType
  - FileMonitorEvent
  - FileType
  - FilesystemPreviewType
  - IOErrorEnum
  - IOModuleScopeFlags
  - MemoryMonitorWarningLevel
  - MountOperationResult
  - NetworkConnectivity
  - NotificationPriority
  - PasswordSave
  - PollableReturn
  - ResolverError
  - ResolverRecordType
  - ResourceError
  - SocketClientEvent
  - SocketFamily
  - SocketListenerEvent
  - SocketProtocol
  - SocketType
  - TlsAuthenticationMode
  - TlsCertificateRequestFlags
  - TlsChannelBindingError
  - TlsChannelBindingType
  - TlsDatabaseLookupFlags
  - TlsError
  - TlsInteractionResult
  - TlsProtocolVersion
  - TlsRehandshakeMode
  - UnixSocketAddressType
  - ZlibCompressorFormat

Description

Synopsis

- data BusType
  - = BusTypeStarter
  - | BusTypeNone
  - | BusTypeSystem
  - | BusTypeSession
  - | AnotherBusType Int
- data ConverterResult
  - = ConverterResultError
  - | ConverterResultConverted
  - | ConverterResultFinished
  - | ConverterResultFlushed
  - | AnotherConverterResult Int
- data CredentialsType
  - = CredentialsTypeInvalid
  - | CredentialsTypeLinuxUcred
  - | CredentialsTypeFreebsdCmsgcred
  - | CredentialsTypeOpenbsdSockpeercred
  - | CredentialsTypeSolarisUcred
  - | CredentialsTypeNetbsdUnpcbid
  - | CredentialsTypeAppleXucred
  - | CredentialsTypeWin32Pid
  - | AnotherCredentialsType Int
- data DBusError
  - = DBusErrorFailed
  - | DBusErrorNoMemory
  - | DBusErrorServiceUnknown
  - | DBusErrorNameHasNoOwner
  - | DBusErrorNoReply
  - | DBusErrorIoError
  - | DBusErrorBadAddress
  - | DBusErrorNotSupported
  - | DBusErrorLimitsExceeded
  - | DBusErrorAccessDenied
  - | DBusErrorAuthFailed
  - | DBusErrorNoServer
  - | DBusErrorTimeout
  - | DBusErrorNoNetwork
  - | DBusErrorAddressInUse
  - | DBusErrorDisconnected
  - | DBusErrorInvalidArgs
  - | DBusErrorFileNotFound
  - | DBusErrorFileExists
  - | DBusErrorUnknownMethod
  - | DBusErrorTimedOut
  - | DBusErrorMatchRuleNotFound
  - | DBusErrorMatchRuleInvalid
  - | DBusErrorSpawnExecFailed
  - | DBusErrorSpawnForkFailed
  - | DBusErrorSpawnChildExited
  - | DBusErrorSpawnChildSignaled
  - | DBusErrorSpawnFailed
  - | DBusErrorSpawnSetupFailed
  - | DBusErrorSpawnConfigInvalid
  - | DBusErrorSpawnServiceInvalid
  - | DBusErrorSpawnServiceNotFound
  - | DBusErrorSpawnPermissionsInvalid
  - | DBusErrorSpawnFileInvalid
  - | DBusErrorSpawnNoMemory
  - | DBusErrorUnixProcessIdUnknown
  - | DBusErrorInvalidSignature
  - | DBusErrorInvalidFileContent
  - | DBusErrorSelinuxSecurityContextUnknown
  - | DBusErrorAdtAuditDataUnknown
  - | DBusErrorObjectPathInUse
  - | DBusErrorUnknownObject
  - | DBusErrorUnknownInterface
  - | DBusErrorUnknownProperty
  - | DBusErrorPropertyReadOnly
  - | AnotherDBusError Int
- catchDBusError :: IO a -> (DBusError -> GErrorMessage -> IO a) -> IO a
- handleDBusError :: (DBusError -> GErrorMessage -> IO a) -> IO a -> IO a
- data DBusMessageByteOrder
  - = DBusMessageByteOrderBigEndian
  - | DBusMessageByteOrderLittleEndian
  - | AnotherDBusMessageByteOrder Int
- data DBusMessageHeaderField
  - = DBusMessageHeaderFieldInvalid
  - | DBusMessageHeaderFieldPath
  - | DBusMessageHeaderFieldInterface
  - | DBusMessageHeaderFieldMember
  - | DBusMessageHeaderFieldErrorName
  - | DBusMessageHeaderFieldReplySerial
  - | DBusMessageHeaderFieldDestination
  - | DBusMessageHeaderFieldSender
  - | DBusMessageHeaderFieldSignature
  - | DBusMessageHeaderFieldNumUnixFds
  - | AnotherDBusMessageHeaderField Int
- data DBusMessageType
  - = DBusMessageTypeInvalid
  - | DBusMessageTypeMethodCall
  - | DBusMessageTypeMethodReturn
  - | DBusMessageTypeError
  - | DBusMessageTypeSignal
  - | AnotherDBusMessageType Int
- data DataStreamByteOrder
  - = DataStreamByteOrderBigEndian
  - | DataStreamByteOrderLittleEndian
  - | DataStreamByteOrderHostEndian
  - | AnotherDataStreamByteOrder Int
- data DataStreamNewlineType
  - = DataStreamNewlineTypeLf
  - | DataStreamNewlineTypeCr
  - | DataStreamNewlineTypeCrLf
  - | DataStreamNewlineTypeAny
  - | AnotherDataStreamNewlineType Int
- data DriveStartStopType
  - = DriveStartStopTypeUnknown
  - | DriveStartStopTypeShutdown
  - | DriveStartStopTypeNetwork
  - | DriveStartStopTypeMultidisk
  - | DriveStartStopTypePassword
  - | AnotherDriveStartStopType Int
- data EmblemOrigin
  - = EmblemOriginUnknown
  - | EmblemOriginDevice
  - | EmblemOriginLivemetadata
  - | EmblemOriginTag
  - | AnotherEmblemOrigin Int
- data FileAttributeStatus
  - = FileAttributeStatusUnset
  - | FileAttributeStatusSet
  - | FileAttributeStatusErrorSetting
  - | AnotherFileAttributeStatus Int
- data FileAttributeType
  - = FileAttributeTypeInvalid
  - | FileAttributeTypeString
  - | FileAttributeTypeByteString
  - | FileAttributeTypeBoolean
  - | FileAttributeTypeUint32
  - | FileAttributeTypeInt32
  - | FileAttributeTypeUint64
  - | FileAttributeTypeInt64
  - | FileAttributeTypeObject
  - | FileAttributeTypeStringv
  - | AnotherFileAttributeType Int
- data FileMonitorEvent
  - = FileMonitorEventChanged
  - | FileMonitorEventChangesDoneHint
  - | FileMonitorEventDeleted
  - | FileMonitorEventCreated
  - | FileMonitorEventAttributeChanged
  - | FileMonitorEventPreUnmount
  - | FileMonitorEventUnmounted
  - | FileMonitorEventMoved
  - | FileMonitorEventRenamed
  - | FileMonitorEventMovedIn
  - | FileMonitorEventMovedOut
  - | AnotherFileMonitorEvent Int
- data FileType
  - = FileTypeUnknown
  - | FileTypeRegular
  - | FileTypeDirectory
  - | FileTypeSymbolicLink
  - | FileTypeSpecial
  - | FileTypeShortcut
  - | FileTypeMountable
  - | AnotherFileType Int
- data FilesystemPreviewType
  - = FilesystemPreviewTypeIfAlways
  - | FilesystemPreviewTypeIfLocal
  - | FilesystemPreviewTypeNever
  - | AnotherFilesystemPreviewType Int
- data IOErrorEnum
  - = IOErrorEnumFailed
  - | IOErrorEnumNotFound
  - | IOErrorEnumExists
  - | IOErrorEnumIsDirectory
  - | IOErrorEnumNotDirectory
  - | IOErrorEnumNotEmpty
  - | IOErrorEnumNotRegularFile
  - | IOErrorEnumNotSymbolicLink
  - | IOErrorEnumNotMountableFile
  - | IOErrorEnumFilenameTooLong
  - | IOErrorEnumInvalidFilename
  - | IOErrorEnumTooManyLinks
  - | IOErrorEnumNoSpace
  - | IOErrorEnumInvalidArgument
  - | IOErrorEnumPermissionDenied
  - | IOErrorEnumNotSupported
  - | IOErrorEnumNotMounted
  - | IOErrorEnumAlreadyMounted
  - | IOErrorEnumClosed
  - | IOErrorEnumCancelled
  - | IOErrorEnumPending
  - | IOErrorEnumReadOnly
  - | IOErrorEnumCantCreateBackup
  - | IOErrorEnumWrongEtag
  - | IOErrorEnumTimedOut
  - | IOErrorEnumWouldRecurse
  - | IOErrorEnumBusy
  - | IOErrorEnumWouldBlock
  - | IOErrorEnumHostNotFound
  - | IOErrorEnumWouldMerge
  - | IOErrorEnumFailedHandled
  - | IOErrorEnumTooManyOpenFiles
  - | IOErrorEnumNotInitialized
  - | IOErrorEnumAddressInUse
  - | IOErrorEnumPartialInput
  - | IOErrorEnumInvalidData
  - | IOErrorEnumDbusError
  - | IOErrorEnumHostUnreachable
  - | IOErrorEnumNetworkUnreachable
  - | IOErrorEnumConnectionRefused
  - | IOErrorEnumProxyFailed
  - | IOErrorEnumProxyAuthFailed
  - | IOErrorEnumProxyNeedAuth
  - | IOErrorEnumProxyNotAllowed
  - | IOErrorEnumBrokenPipe
  - | IOErrorEnumConnectionClosed
  - | IOErrorEnumNotConnected
  - | IOErrorEnumMessageTooLarge
  - | IOErrorEnumNoSuchDevice
  - | IOErrorEnumDestinationUnset
  - | AnotherIOErrorEnum Int
- catchIOErrorEnum :: IO a -> (IOErrorEnum -> GErrorMessage -> IO a) -> IO a
- handleIOErrorEnum :: (IOErrorEnum -> GErrorMessage -> IO a) -> IO a -> IO a
- data IOModuleScopeFlags
  - = IOModuleScopeFlagsNone
  - | IOModuleScopeFlagsBlockDuplicates
  - | AnotherIOModuleScopeFlags Int
- data MemoryMonitorWarningLevel
  - = MemoryMonitorWarningLevelLow
  - | MemoryMonitorWarningLevelMedium
  - | MemoryMonitorWarningLevelCritical
  - | AnotherMemoryMonitorWarningLevel Int
- data MountOperationResult
  - = MountOperationResultHandled
  - | MountOperationResultAborted
  - | MountOperationResultUnhandled
  - | AnotherMountOperationResult Int
- data NetworkConnectivity
  - = NetworkConnectivityLocal
  - | NetworkConnectivityLimited
  - | NetworkConnectivityPortal
  - | NetworkConnectivityFull
  - | AnotherNetworkConnectivity Int
- data NotificationPriority
  - = NotificationPriorityNormal
  - | NotificationPriorityLow
  - | NotificationPriorityHigh
  - | NotificationPriorityUrgent
  - | AnotherNotificationPriority Int
- data PasswordSave
  - = PasswordSaveNever
  - | PasswordSaveForSession
  - | PasswordSavePermanently
  - | AnotherPasswordSave Int
- data PollableReturn
  - = PollableReturnFailed
  - | PollableReturnOk
  - | PollableReturnWouldBlock
  - | AnotherPollableReturn Int
- data ResolverError
  - = ResolverErrorNotFound
  - | ResolverErrorTemporaryFailure
  - | ResolverErrorInternal
  - | AnotherResolverError Int
- catchResolverError :: IO a -> (ResolverError -> GErrorMessage -> IO a) -> IO a
- handleResolverError :: (ResolverError -> GErrorMessage -> IO a) -> IO a -> IO a
- data ResolverRecordType
  - = ResolverRecordTypeSrv
  - | ResolverRecordTypeMx
  - | ResolverRecordTypeTxt
  - | ResolverRecordTypeSoa
  - | ResolverRecordTypeNs
  - | AnotherResolverRecordType Int
- data ResourceError
  - = ResourceErrorNotFound
  - | ResourceErrorInternal
  - | AnotherResourceError Int
- catchResourceError :: IO a -> (ResourceError -> GErrorMessage -> IO a) -> IO a
- handleResourceError :: (ResourceError -> GErrorMessage -> IO a) -> IO a -> IO a
- data SocketClientEvent
  - = SocketClientEventResolving
  - | SocketClientEventResolved
  - | SocketClientEventConnecting
  - | SocketClientEventConnected
  - | SocketClientEventProxyNegotiating
  - | SocketClientEventProxyNegotiated
  - | SocketClientEventTlsHandshaking
  - | SocketClientEventTlsHandshaked
  - | SocketClientEventComplete
  - | AnotherSocketClientEvent Int
- data SocketFamily
  - = SocketFamilyInvalid
  - | SocketFamilyUnix
  - | SocketFamilyIpv4
  - | SocketFamilyIpv6
  - | AnotherSocketFamily Int
- data SocketListenerEvent
  - = SocketListenerEventBinding
  - | SocketListenerEventBound
  - | SocketListenerEventListening
  - | SocketListenerEventListened
  - | AnotherSocketListenerEvent Int
- data SocketProtocol
  - = SocketProtocolUnknown
  - | SocketProtocolDefault
  - | SocketProtocolTcp
  - | SocketProtocolUdp
  - | SocketProtocolSctp
  - | AnotherSocketProtocol Int
- data SocketType
  - = SocketTypeInvalid
  - | SocketTypeStream
  - | SocketTypeDatagram
  - | SocketTypeSeqpacket
  - | AnotherSocketType Int
- data TlsAuthenticationMode
  - = TlsAuthenticationModeNone
  - | TlsAuthenticationModeRequested
  - | TlsAuthenticationModeRequired
  - | AnotherTlsAuthenticationMode Int
- data TlsCertificateRequestFlags
  - = TlsCertificateRequestFlagsNone
  - | AnotherTlsCertificateRequestFlags Int
- data TlsChannelBindingError
  - = TlsChannelBindingErrorNotImplemented
  - | TlsChannelBindingErrorInvalidState
  - | TlsChannelBindingErrorNotAvailable
  - | TlsChannelBindingErrorNotSupported
  - | TlsChannelBindingErrorGeneralError
  - | AnotherTlsChannelBindingError Int
- catchTlsChannelBindingError :: IO a -> (TlsChannelBindingError -> GErrorMessage -> IO a) -> IO a
- handleTlsChannelBindingError :: (TlsChannelBindingError -> GErrorMessage -> IO a) -> IO a -> IO a
- data TlsChannelBindingType
  - = TlsChannelBindingTypeUnique
  - | TlsChannelBindingTypeServerEndPoint
  - | TlsChannelBindingTypeExporter
  - | AnotherTlsChannelBindingType Int
- data TlsDatabaseLookupFlags
  - = TlsDatabaseLookupFlagsNone
  - | TlsDatabaseLookupFlagsKeypair
  - | AnotherTlsDatabaseLookupFlags Int
- data TlsError
  - = TlsErrorUnavailable
  - | TlsErrorMisc
  - | TlsErrorBadCertificate
  - | TlsErrorNotTls
  - | TlsErrorHandshake
  - | TlsErrorCertificateRequired
  - | TlsErrorEof
  - | TlsErrorInappropriateFallback
  - | TlsErrorBadCertificatePassword
  - | AnotherTlsError Int
- catchTlsError :: IO a -> (TlsError -> GErrorMessage -> IO a) -> IO a
- handleTlsError :: (TlsError -> GErrorMessage -> IO a) -> IO a -> IO a
- data TlsInteractionResult
  - = TlsInteractionResultUnhandled
  - | TlsInteractionResultHandled
  - | TlsInteractionResultFailed
  - | AnotherTlsInteractionResult Int
- data TlsProtocolVersion
  - = TlsProtocolVersionUnknown
  - | TlsProtocolVersionSsl30
  - | TlsProtocolVersionTls10
  - | TlsProtocolVersionTls11
  - | TlsProtocolVersionTls12
  - | TlsProtocolVersionTls13
  - | TlsProtocolVersionDtls10
  - | TlsProtocolVersionDtls12
  - | AnotherTlsProtocolVersion Int
- data TlsRehandshakeMode
  - = TlsRehandshakeModeNever
  - | TlsRehandshakeModeSafely
  - | TlsRehandshakeModeUnsafely
  - | AnotherTlsRehandshakeMode Int
- data UnixSocketAddressType
  - = UnixSocketAddressTypeInvalid
  - | UnixSocketAddressTypeAnonymous
  - | UnixSocketAddressTypePath
  - | UnixSocketAddressTypeAbstract
  - | UnixSocketAddressTypeAbstractPadded
  - | AnotherUnixSocketAddressType Int
- data ZlibCompressorFormat
  - = ZlibCompressorFormatZlib
  - | ZlibCompressorFormatGzip
  - | ZlibCompressorFormatRaw
  - | AnotherZlibCompressorFormat Int

# Enumerations

## BusType

data BusType Source #

An enumeration for well-known message buses.

Since: 2.26

Constructors

BusTypeStarter | An alias for the message bus that activated the process, if any.
BusTypeNone | Not a message bus.
BusTypeSystem | The system-wide message bus.
BusTypeSession | The login session message bus.
AnotherBusType Int | Catch-all for unknown values

#### Instances

Instances details

Enum BusType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: BusType -> BusType Source #

pred :: BusType -> BusType Source #

toEnum :: Int -> BusType Source #

fromEnum :: BusType -> Int Source #

enumFrom :: BusType -> [BusType] Source #

enumFromThen :: BusType -> BusType -> [BusType] Source #

enumFromTo :: BusType -> BusType -> [BusType] Source #

enumFromThenTo :: BusType -> BusType -> BusType -> [BusType] Source #

Show BusType Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> BusType -> ShowS Source # show :: BusType -> String Source # showList :: [BusType] -> ShowS Source #
Eq BusType Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: BusType -> BusType -> Bool Source # (/=) :: BusType -> BusType -> Bool Source #
Ord BusType Source # |
Instance details Defined in GI.Gio.Enums Methods compare :: BusType -> BusType -> Ordering Source # (<) :: BusType -> BusType -> Bool Source # (<=) :: BusType -> BusType -> Bool Source # (>) :: BusType -> BusType -> Bool Source # (>=) :: BusType -> BusType -> Bool Source # max :: BusType -> BusType -> BusType Source # min :: BusType -> BusType -> BusType Source #
BoxedEnum BusType Source # |
Instance details Defined in GI.Gio.Enums
TypedObject BusType Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes BusType Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes BusType Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes BusType = '[] :: [Type]

## ConverterResult

data ConverterResult Source #

Results returned from `converterConvert`.

Since: 2.24

Constructors

ConverterResultError | There was an error during conversion.
ConverterResultConverted | Some data was consumed or produced
ConverterResultFinished | The conversion is finished
ConverterResultFlushed | Flushing is finished
AnotherConverterResult Int | Catch-all for unknown values

#### Instances

Instances details

Enum ConverterResult Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: ConverterResult -> ConverterResult Source #

pred :: ConverterResult -> ConverterResult Source #

toEnum :: Int -> ConverterResult Source #

fromEnum :: ConverterResult -> Int Source #

enumFrom :: ConverterResult -> [ConverterResult] Source #

enumFromThen :: ConverterResult -> ConverterResult -> [ConverterResult] Source #

enumFromTo :: ConverterResult -> ConverterResult -> [ConverterResult] Source #

enumFromThenTo :: ConverterResult -> ConverterResult -> ConverterResult -> [ConverterResult] Source #

Show ConverterResult Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> ConverterResult -> ShowS Source # show :: ConverterResult -> String Source # showList :: [ConverterResult] -> ShowS Source #
Eq ConverterResult Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: ConverterResult -> ConverterResult -> Bool Source # (/=) :: ConverterResult -> ConverterResult -> Bool Source #
Ord ConverterResult Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: ConverterResult -> ConverterResult -> Ordering Source #

(<) :: ConverterResult -> ConverterResult -> Bool Source #

(<=) :: ConverterResult -> ConverterResult -> Bool Source #

(>) :: ConverterResult -> ConverterResult -> Bool Source #

(>=) :: ConverterResult -> ConverterResult -> Bool Source #

max :: ConverterResult -> ConverterResult -> ConverterResult Source #

min :: ConverterResult -> ConverterResult -> ConverterResult Source #

BoxedEnum ConverterResult Source # |
Instance details Defined in GI.Gio.Enums
TypedObject ConverterResult Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes ConverterResult Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes ConverterResult Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes ConverterResult = '[] :: [Type]

## CredentialsType

data CredentialsType Source #

Enumeration describing different kinds of native credential types.

Since: 2.26

Constructors

CredentialsTypeInvalid | Indicates an invalid native credential type.
CredentialsTypeLinuxUcred | The native credentials type is a `struct ucred`.
CredentialsTypeFreebsdCmsgcred | The native credentials type is a `struct cmsgcred`.
CredentialsTypeOpenbsdSockpeercred | The native credentials type is a `struct sockpeercred`. Added in 2.30.
CredentialsTypeSolarisUcred | The native credentials type is a `ucred_t`. Added in 2.40.
CredentialsTypeNetbsdUnpcbid | The native credentials type is a `struct unpcbid`. Added in 2.42.
CredentialsTypeAppleXucred | The native credentials type is a `struct xucred`. Added in 2.66.
CredentialsTypeWin32Pid | The native credentials type is a PID `DWORD`. Added in 2.72.
AnotherCredentialsType Int | Catch-all for unknown values

#### Instances

Instances details

Enum CredentialsType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: CredentialsType -> CredentialsType Source #

pred :: CredentialsType -> CredentialsType Source #

toEnum :: Int -> CredentialsType Source #

fromEnum :: CredentialsType -> Int Source #

enumFrom :: CredentialsType -> [CredentialsType] Source #

enumFromThen :: CredentialsType -> CredentialsType -> [CredentialsType] Source #

enumFromTo :: CredentialsType -> CredentialsType -> [CredentialsType] Source #

enumFromThenTo :: CredentialsType -> CredentialsType -> CredentialsType -> [CredentialsType] Source #

Show CredentialsType Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> CredentialsType -> ShowS Source # show :: CredentialsType -> String Source # showList :: [CredentialsType] -> ShowS Source #
Eq CredentialsType Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: CredentialsType -> CredentialsType -> Bool Source # (/=) :: CredentialsType -> CredentialsType -> Bool Source #
Ord CredentialsType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: CredentialsType -> CredentialsType -> Ordering Source #

(<) :: CredentialsType -> CredentialsType -> Bool Source #

(<=) :: CredentialsType -> CredentialsType -> Bool Source #

(>) :: CredentialsType -> CredentialsType -> Bool Source #

(>=) :: CredentialsType -> CredentialsType -> Bool Source #

max :: CredentialsType -> CredentialsType -> CredentialsType Source #

min :: CredentialsType -> CredentialsType -> CredentialsType Source #

BoxedEnum CredentialsType Source # |
Instance details Defined in GI.Gio.Enums
TypedObject CredentialsType Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes CredentialsType Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes CredentialsType Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes CredentialsType = '[] :: [Type]

## DBusError

data DBusError Source #

Error codes for the `G_DBUS_ERROR` error domain.

Since: 2.26

Constructors

DBusErrorFailed | A generic error; "something went wrong" - see the error message for more.
DBusErrorNoMemory | There was not enough memory to complete an operation.
DBusErrorServiceUnknown | The bus doesn't know how to launch a service to supply the bus name you wanted.
DBusErrorNameHasNoOwner | The bus name you referenced doesn't exist (i.e. no application owns it).
DBusErrorNoReply | No reply to a message expecting one, usually means a timeout occurred.
DBusErrorIoError | Something went wrong reading or writing to a socket, for example.
DBusErrorBadAddress | A D-Bus bus address was malformed.
DBusErrorNotSupported | Requested operation isn't supported (like ENOSYS on UNIX).
DBusErrorLimitsExceeded | Some limited resource is exhausted.
DBusErrorAccessDenied | Security restrictions don't allow doing what you're trying to do.
DBusErrorAuthFailed | Authentication didn't work.
DBusErrorNoServer | Unable to connect to server (probably caused by ECONNREFUSED on a socket).
DBusErrorTimeout | Certain timeout errors, possibly ETIMEDOUT on a socket. Note that `DBusErrorNoReply` is used for message reply timeouts. Warning: this is confusingly-named given that `DBusErrorTimedOut` also exists. We can't fix it for compatibility reasons so just be careful.
DBusErrorNoNetwork | No network access (probably ENETUNREACH on a socket).
DBusErrorAddressInUse | Can't bind a socket since its address is in use (i.e. EADDRINUSE).
DBusErrorDisconnected | The connection is disconnected and you're trying to use it.
DBusErrorInvalidArgs | Invalid arguments passed to a method call.
DBusErrorFileNotFound | Missing file.
DBusErrorFileExists | Existing file and the operation you're using does not silently overwrite.
DBusErrorUnknownMethod | Method name you invoked isn't known by the object you invoked it on.
DBusErrorTimedOut | Certain timeout errors, e.g. while starting a service. Warning: this is confusingly-named given that `DBusErrorTimeout` also exists. We can't fix it for compatibility reasons so just be careful.
DBusErrorMatchRuleNotFound | Tried to remove or modify a match rule that didn't exist.
DBusErrorMatchRuleInvalid | The match rule isn't syntactically valid.
DBusErrorSpawnExecFailed | While starting a new process, the `exec()` call failed.
DBusErrorSpawnForkFailed | While starting a new process, the `fork()` call failed.
DBusErrorSpawnChildExited | While starting a new process, the child exited with a status code.
DBusErrorSpawnChildSignaled | While starting a new process, the child exited on a signal.
DBusErrorSpawnFailed | While starting a new process, something went wrong.
DBusErrorSpawnSetupFailed | We failed to setup the environment correctly.
DBusErrorSpawnConfigInvalid | We failed to setup the config parser correctly.
DBusErrorSpawnServiceInvalid | Bus name was not valid.
DBusErrorSpawnServiceNotFound | Service file not found in system-services directory.
DBusErrorSpawnPermissionsInvalid | Permissions are incorrect on the setuid helper.
DBusErrorSpawnFileInvalid | Service file invalid (Name, User or Exec missing).
DBusErrorSpawnNoMemory | Tried to get a UNIX process ID and it wasn't available.
DBusErrorUnixProcessIdUnknown | Tried to get a UNIX process ID and it wasn't available.
DBusErrorInvalidSignature | A type signature is not valid.
DBusErrorInvalidFileContent | A file contains invalid syntax or is otherwise broken.
DBusErrorSelinuxSecurityContextUnknown | Asked for SELinux security context and it wasn't available.
DBusErrorAdtAuditDataUnknown | Asked for ADT audit data and it wasn't available.
DBusErrorObjectPathInUse | There's already an object with the requested object path.
DBusErrorUnknownObject | Object you invoked a method on isn't known. Since 2.42
DBusErrorUnknownInterface | Interface you invoked a method on isn't known by the object. Since 2.42
DBusErrorUnknownProperty | Property you tried to access isn't known by the object. Since 2.42
DBusErrorPropertyReadOnly | Property you tried to set is read-only. Since 2.42
AnotherDBusError Int | Catch-all for unknown values

#### Instances

Instances details

Enum DBusError Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: DBusError -> DBusError Source #

pred :: DBusError -> DBusError Source #

toEnum :: Int -> DBusError Source #

fromEnum :: DBusError -> Int Source #

enumFrom :: DBusError -> [DBusError] Source #

enumFromThen :: DBusError -> DBusError -> [DBusError] Source #

enumFromTo :: DBusError -> DBusError -> [DBusError] Source #

enumFromThenTo :: DBusError -> DBusError -> DBusError -> [DBusError] Source #

Show DBusError Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> DBusError -> ShowS Source # show :: DBusError -> String Source # showList :: [DBusError] -> ShowS Source #
Eq DBusError Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: DBusError -> DBusError -> Bool Source # (/=) :: DBusError -> DBusError -> Bool Source #
Ord DBusError Source # |
Instance details Defined in GI.Gio.Enums Methods compare :: DBusError -> DBusError -> Ordering Source # (<) :: DBusError -> DBusError -> Bool Source # (<=) :: DBusError -> DBusError -> Bool Source # (>) :: DBusError -> DBusError -> Bool Source # (>=) :: DBusError -> DBusError -> Bool Source # max :: DBusError -> DBusError -> DBusError Source # min :: DBusError -> DBusError -> DBusError Source #
BoxedEnum DBusError Source # |
Instance details Defined in GI.Gio.Enums
TypedObject DBusError Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
GErrorClass DBusError Source # |
Instance details Defined in GI.Gio.Enums Methods gerrorClassDomain :: DBusError -> Text Source #
HasParentTypes DBusError Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes DBusError Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes DBusError = '[] :: [Type]

catchDBusError :: IO a -> (DBusError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `DBusError`. This is a specialized version of `catchGErrorJustDomain`.

handleDBusError :: (DBusError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `DBusError`. This is a specialized version of `handleGErrorJustDomain`.

## DBusMessageByteOrder

data DBusMessageByteOrder Source #

Enumeration used to describe the byte order of a D-Bus message.

Since: 2.26

Constructors

DBusMessageByteOrderBigEndian | The byte order is big endian.
DBusMessageByteOrderLittleEndian | The byte order is little endian.
AnotherDBusMessageByteOrder Int | Catch-all for unknown values

#### Instances

Instances details

Enum DBusMessageByteOrder Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: DBusMessageByteOrder -> DBusMessageByteOrder Source #

pred :: DBusMessageByteOrder -> DBusMessageByteOrder Source #

toEnum :: Int -> DBusMessageByteOrder Source #

fromEnum :: DBusMessageByteOrder -> Int Source #

enumFrom :: DBusMessageByteOrder -> [DBusMessageByteOrder] Source #

enumFromThen :: DBusMessageByteOrder -> DBusMessageByteOrder -> [DBusMessageByteOrder] Source #

enumFromTo :: DBusMessageByteOrder -> DBusMessageByteOrder -> [DBusMessageByteOrder] Source #

enumFromThenTo :: DBusMessageByteOrder -> DBusMessageByteOrder -> DBusMessageByteOrder -> [DBusMessageByteOrder] Source #

Show DBusMessageByteOrder Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> DBusMessageByteOrder -> ShowS Source # show :: DBusMessageByteOrder -> String Source # showList :: [DBusMessageByteOrder] -> ShowS Source #
Eq DBusMessageByteOrder Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: DBusMessageByteOrder -> DBusMessageByteOrder -> Bool Source # (/=) :: DBusMessageByteOrder -> DBusMessageByteOrder -> Bool Source #
Ord DBusMessageByteOrder Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: DBusMessageByteOrder -> DBusMessageByteOrder -> Ordering Source #

(<) :: DBusMessageByteOrder -> DBusMessageByteOrder -> Bool Source #

(<=) :: DBusMessageByteOrder -> DBusMessageByteOrder -> Bool Source #

(>) :: DBusMessageByteOrder -> DBusMessageByteOrder -> Bool Source #

(>=) :: DBusMessageByteOrder -> DBusMessageByteOrder -> Bool Source #

max :: DBusMessageByteOrder -> DBusMessageByteOrder -> DBusMessageByteOrder Source #

min :: DBusMessageByteOrder -> DBusMessageByteOrder -> DBusMessageByteOrder Source #

BoxedEnum DBusMessageByteOrder Source # |
Instance details Defined in GI.Gio.Enums
TypedObject DBusMessageByteOrder Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes DBusMessageByteOrder Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes DBusMessageByteOrder Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes DBusMessageByteOrder = '[] :: [Type]

## DBusMessageHeaderField

data DBusMessageHeaderField Source #

Header fields used in `DBusMessage`.

Since: 2.26

Constructors

DBusMessageHeaderFieldInvalid | Not a valid header field.
DBusMessageHeaderFieldPath | The object path.
DBusMessageHeaderFieldInterface | The interface name.
DBusMessageHeaderFieldMember | The method or signal name.
DBusMessageHeaderFieldErrorName | The name of the error that occurred.
DBusMessageHeaderFieldReplySerial | The serial number the message is a reply to.
DBusMessageHeaderFieldDestination | The name the message is intended for.
DBusMessageHeaderFieldSender | Unique name of the sender of the message (filled in by the bus).
DBusMessageHeaderFieldSignature | The signature of the message body.
DBusMessageHeaderFieldNumUnixFds | The number of UNIX file descriptors that accompany the message.
AnotherDBusMessageHeaderField Int | Catch-all for unknown values

#### Instances

Instances details

Enum DBusMessageHeaderField Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: DBusMessageHeaderField -> DBusMessageHeaderField Source #

pred :: DBusMessageHeaderField -> DBusMessageHeaderField Source #

toEnum :: Int -> DBusMessageHeaderField Source #

fromEnum :: DBusMessageHeaderField -> Int Source #

enumFrom :: DBusMessageHeaderField -> [DBusMessageHeaderField] Source #

enumFromThen :: DBusMessageHeaderField -> DBusMessageHeaderField -> [DBusMessageHeaderField] Source #

enumFromTo :: DBusMessageHeaderField -> DBusMessageHeaderField -> [DBusMessageHeaderField] Source #

enumFromThenTo :: DBusMessageHeaderField -> DBusMessageHeaderField -> DBusMessageHeaderField -> [DBusMessageHeaderField] Source #

Show DBusMessageHeaderField Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> DBusMessageHeaderField -> ShowS Source # show :: DBusMessageHeaderField -> String Source # showList :: [DBusMessageHeaderField] -> ShowS Source #
Eq DBusMessageHeaderField Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: DBusMessageHeaderField -> DBusMessageHeaderField -> Bool Source # (/=) :: DBusMessageHeaderField -> DBusMessageHeaderField -> Bool Source #
Ord DBusMessageHeaderField Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: DBusMessageHeaderField -> DBusMessageHeaderField -> Ordering Source #

(<) :: DBusMessageHeaderField -> DBusMessageHeaderField -> Bool Source #

(<=) :: DBusMessageHeaderField -> DBusMessageHeaderField -> Bool Source #

(>) :: DBusMessageHeaderField -> DBusMessageHeaderField -> Bool Source #

(>=) :: DBusMessageHeaderField -> DBusMessageHeaderField -> Bool Source #

max :: DBusMessageHeaderField -> DBusMessageHeaderField -> DBusMessageHeaderField Source #

min :: DBusMessageHeaderField -> DBusMessageHeaderField -> DBusMessageHeaderField Source #

BoxedEnum DBusMessageHeaderField Source # |
Instance details Defined in GI.Gio.Enums
TypedObject DBusMessageHeaderField Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes DBusMessageHeaderField Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes DBusMessageHeaderField Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes DBusMessageHeaderField = '[] :: [Type]

## DBusMessageType

data DBusMessageType Source #

Message types used in `DBusMessage`.

Since: 2.26

Constructors

DBusMessageTypeInvalid | Message is of invalid type.
DBusMessageTypeMethodCall | Method call.
DBusMessageTypeMethodReturn | Method reply.
DBusMessageTypeError | Error reply.
DBusMessageTypeSignal | Signal emission.
AnotherDBusMessageType Int | Catch-all for unknown values

#### Instances

Instances details

Enum DBusMessageType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: DBusMessageType -> DBusMessageType Source #

pred :: DBusMessageType -> DBusMessageType Source #

toEnum :: Int -> DBusMessageType Source #

fromEnum :: DBusMessageType -> Int Source #

enumFrom :: DBusMessageType -> [DBusMessageType] Source #

enumFromThen :: DBusMessageType -> DBusMessageType -> [DBusMessageType] Source #

enumFromTo :: DBusMessageType -> DBusMessageType -> [DBusMessageType] Source #

enumFromThenTo :: DBusMessageType -> DBusMessageType -> DBusMessageType -> [DBusMessageType] Source #

Show DBusMessageType Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> DBusMessageType -> ShowS Source # show :: DBusMessageType -> String Source # showList :: [DBusMessageType] -> ShowS Source #
Eq DBusMessageType Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: DBusMessageType -> DBusMessageType -> Bool Source # (/=) :: DBusMessageType -> DBusMessageType -> Bool Source #
Ord DBusMessageType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: DBusMessageType -> DBusMessageType -> Ordering Source #

(<) :: DBusMessageType -> DBusMessageType -> Bool Source #

(<=) :: DBusMessageType -> DBusMessageType -> Bool Source #

(>) :: DBusMessageType -> DBusMessageType -> Bool Source #

(>=) :: DBusMessageType -> DBusMessageType -> Bool Source #

max :: DBusMessageType -> DBusMessageType -> DBusMessageType Source #

min :: DBusMessageType -> DBusMessageType -> DBusMessageType Source #

BoxedEnum DBusMessageType Source # |
Instance details Defined in GI.Gio.Enums
TypedObject DBusMessageType Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes DBusMessageType Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes DBusMessageType Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes DBusMessageType = '[] :: [Type]

## DataStreamByteOrder

data DataStreamByteOrder Source #

`DataStreamByteOrder` is used to ensure proper endianness of streaming data sources across various machine architectures.

Constructors

DataStreamByteOrderBigEndian | Selects Big Endian byte order.
DataStreamByteOrderLittleEndian | Selects Little Endian byte order.
DataStreamByteOrderHostEndian | Selects endianness based on host machine's architecture.
AnotherDataStreamByteOrder Int | Catch-all for unknown values

#### Instances

Instances details

Enum DataStreamByteOrder Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: DataStreamByteOrder -> DataStreamByteOrder Source #

pred :: DataStreamByteOrder -> DataStreamByteOrder Source #

toEnum :: Int -> DataStreamByteOrder Source #

fromEnum :: DataStreamByteOrder -> Int Source #

enumFrom :: DataStreamByteOrder -> [DataStreamByteOrder] Source #

enumFromThen :: DataStreamByteOrder -> DataStreamByteOrder -> [DataStreamByteOrder] Source #

enumFromTo :: DataStreamByteOrder -> DataStreamByteOrder -> [DataStreamByteOrder] Source #

enumFromThenTo :: DataStreamByteOrder -> DataStreamByteOrder -> DataStreamByteOrder -> [DataStreamByteOrder] Source #

Show DataStreamByteOrder Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> DataStreamByteOrder -> ShowS Source # show :: DataStreamByteOrder -> String Source # showList :: [DataStreamByteOrder] -> ShowS Source #
Eq DataStreamByteOrder Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: DataStreamByteOrder -> DataStreamByteOrder -> Bool Source # (/=) :: DataStreamByteOrder -> DataStreamByteOrder -> Bool Source #
Ord DataStreamByteOrder Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: DataStreamByteOrder -> DataStreamByteOrder -> Ordering Source #

(<) :: DataStreamByteOrder -> DataStreamByteOrder -> Bool Source #

(<=) :: DataStreamByteOrder -> DataStreamByteOrder -> Bool Source #

(>) :: DataStreamByteOrder -> DataStreamByteOrder -> Bool Source #

(>=) :: DataStreamByteOrder -> DataStreamByteOrder -> Bool Source #

max :: DataStreamByteOrder -> DataStreamByteOrder -> DataStreamByteOrder Source #

min :: DataStreamByteOrder -> DataStreamByteOrder -> DataStreamByteOrder Source #

BoxedEnum DataStreamByteOrder Source # |
Instance details Defined in GI.Gio.Enums
TypedObject DataStreamByteOrder Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes DataStreamByteOrder Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes DataStreamByteOrder Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes DataStreamByteOrder = '[] :: [Type]

## DataStreamNewlineType

data DataStreamNewlineType Source #

`DataStreamNewlineType` is used when checking for or setting the line endings for a given file.

Constructors

DataStreamNewlineTypeLf | Selects "LF" line endings, common on most modern UNIX platforms.
DataStreamNewlineTypeCr | Selects "CR" line endings.
DataStreamNewlineTypeCrLf | Selects "CR, LF" line ending, common on Microsoft Windows.
DataStreamNewlineTypeAny | Automatically try to handle any line ending type.
AnotherDataStreamNewlineType Int | Catch-all for unknown values

#### Instances

Instances details

Enum DataStreamNewlineType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: DataStreamNewlineType -> DataStreamNewlineType Source #

pred :: DataStreamNewlineType -> DataStreamNewlineType Source #

toEnum :: Int -> DataStreamNewlineType Source #

fromEnum :: DataStreamNewlineType -> Int Source #

enumFrom :: DataStreamNewlineType -> [DataStreamNewlineType] Source #

enumFromThen :: DataStreamNewlineType -> DataStreamNewlineType -> [DataStreamNewlineType] Source #

enumFromTo :: DataStreamNewlineType -> DataStreamNewlineType -> [DataStreamNewlineType] Source #

enumFromThenTo :: DataStreamNewlineType -> DataStreamNewlineType -> DataStreamNewlineType -> [DataStreamNewlineType] Source #

Show DataStreamNewlineType Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> DataStreamNewlineType -> ShowS Source # show :: DataStreamNewlineType -> String Source # showList :: [DataStreamNewlineType] -> ShowS Source #
Eq DataStreamNewlineType Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: DataStreamNewlineType -> DataStreamNewlineType -> Bool Source # (/=) :: DataStreamNewlineType -> DataStreamNewlineType -> Bool Source #
Ord DataStreamNewlineType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: DataStreamNewlineType -> DataStreamNewlineType -> Ordering Source #

(<) :: DataStreamNewlineType -> DataStreamNewlineType -> Bool Source #

(<=) :: DataStreamNewlineType -> DataStreamNewlineType -> Bool Source #

(>) :: DataStreamNewlineType -> DataStreamNewlineType -> Bool Source #

(>=) :: DataStreamNewlineType -> DataStreamNewlineType -> Bool Source #

max :: DataStreamNewlineType -> DataStreamNewlineType -> DataStreamNewlineType Source #

min :: DataStreamNewlineType -> DataStreamNewlineType -> DataStreamNewlineType Source #

BoxedEnum DataStreamNewlineType Source # |
Instance details Defined in GI.Gio.Enums
TypedObject DataStreamNewlineType Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes DataStreamNewlineType Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes DataStreamNewlineType Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes DataStreamNewlineType = '[] :: [Type]

## DriveStartStopType

data DriveStartStopType Source #

Enumeration describing how a drive can be started/stopped.

Since: 2.22

Constructors

DriveStartStopTypeUnknown | Unknown or drive doesn't support start/stop.
DriveStartStopTypeShutdown | The stop method will physically shut down the drive and e.g. power down the port the drive is attached to.
DriveStartStopTypeNetwork | The start/stop methods are used for connecting/disconnect to the drive over the network.
DriveStartStopTypeMultidisk | The start/stop methods will assemble/disassemble a virtual drive from several physical drives.
DriveStartStopTypePassword | The start/stop methods will unlock/lock the disk (for example using the ATA <quote>SECURITY UNLOCK DEVICE</quote> command)
AnotherDriveStartStopType Int | Catch-all for unknown values

#### Instances

Instances details

Enum DriveStartStopType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: DriveStartStopType -> DriveStartStopType Source #

pred :: DriveStartStopType -> DriveStartStopType Source #

toEnum :: Int -> DriveStartStopType Source #

fromEnum :: DriveStartStopType -> Int Source #

enumFrom :: DriveStartStopType -> [DriveStartStopType] Source #

enumFromThen :: DriveStartStopType -> DriveStartStopType -> [DriveStartStopType] Source #

enumFromTo :: DriveStartStopType -> DriveStartStopType -> [DriveStartStopType] Source #

enumFromThenTo :: DriveStartStopType -> DriveStartStopType -> DriveStartStopType -> [DriveStartStopType] Source #

Show DriveStartStopType Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> DriveStartStopType -> ShowS Source # show :: DriveStartStopType -> String Source # showList :: [DriveStartStopType] -> ShowS Source #
Eq DriveStartStopType Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: DriveStartStopType -> DriveStartStopType -> Bool Source # (/=) :: DriveStartStopType -> DriveStartStopType -> Bool Source #
Ord DriveStartStopType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: DriveStartStopType -> DriveStartStopType -> Ordering Source #

(<) :: DriveStartStopType -> DriveStartStopType -> Bool Source #

(<=) :: DriveStartStopType -> DriveStartStopType -> Bool Source #

(>) :: DriveStartStopType -> DriveStartStopType -> Bool Source #

(>=) :: DriveStartStopType -> DriveStartStopType -> Bool Source #

max :: DriveStartStopType -> DriveStartStopType -> DriveStartStopType Source #

min :: DriveStartStopType -> DriveStartStopType -> DriveStartStopType Source #

BoxedEnum DriveStartStopType Source # |
Instance details Defined in GI.Gio.Enums
TypedObject DriveStartStopType Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes DriveStartStopType Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes DriveStartStopType Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes DriveStartStopType = '[] :: [Type]

## EmblemOrigin

data EmblemOrigin Source #

GEmblemOrigin is used to add information about the origin of the emblem to `Emblem`.

Since: 2.18

Constructors

EmblemOriginUnknown | Emblem of unknown origin
EmblemOriginDevice | Emblem adds device-specific information
EmblemOriginLivemetadata | Emblem depicts live metadata, such as "readonly"
EmblemOriginTag | Emblem comes from a user-defined tag, e.g. set by nautilus (in the future)
AnotherEmblemOrigin Int | Catch-all for unknown values

#### Instances

Instances details

Enum EmblemOrigin Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: EmblemOrigin -> EmblemOrigin Source #

pred :: EmblemOrigin -> EmblemOrigin Source #

toEnum :: Int -> EmblemOrigin Source #

fromEnum :: EmblemOrigin -> Int Source #

enumFrom :: EmblemOrigin -> [EmblemOrigin] Source #

enumFromThen :: EmblemOrigin -> EmblemOrigin -> [EmblemOrigin] Source #

enumFromTo :: EmblemOrigin -> EmblemOrigin -> [EmblemOrigin] Source #

enumFromThenTo :: EmblemOrigin -> EmblemOrigin -> EmblemOrigin -> [EmblemOrigin] Source #

Show EmblemOrigin Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> EmblemOrigin -> ShowS Source # show :: EmblemOrigin -> String Source # showList :: [EmblemOrigin] -> ShowS Source #
Eq EmblemOrigin Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: EmblemOrigin -> EmblemOrigin -> Bool Source # (/=) :: EmblemOrigin -> EmblemOrigin -> Bool Source #
Ord EmblemOrigin Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: EmblemOrigin -> EmblemOrigin -> Ordering Source #

(<) :: EmblemOrigin -> EmblemOrigin -> Bool Source #

(<=) :: EmblemOrigin -> EmblemOrigin -> Bool Source #

(>) :: EmblemOrigin -> EmblemOrigin -> Bool Source #

(>=) :: EmblemOrigin -> EmblemOrigin -> Bool Source #

max :: EmblemOrigin -> EmblemOrigin -> EmblemOrigin Source #

min :: EmblemOrigin -> EmblemOrigin -> EmblemOrigin Source #

BoxedEnum EmblemOrigin Source # |
Instance details Defined in GI.Gio.Enums
TypedObject EmblemOrigin Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes EmblemOrigin Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes EmblemOrigin Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes EmblemOrigin = '[] :: [Type]

## FileAttributeStatus

data FileAttributeStatus Source #

Used by `fileSetAttributesFromInfo` when setting file attributes.

Constructors

FileAttributeStatusUnset | Attribute value is unset (empty).
FileAttributeStatusSet | Attribute value is set.
FileAttributeStatusErrorSetting | Indicates an error in setting the value.
AnotherFileAttributeStatus Int | Catch-all for unknown values

#### Instances

Instances details

Enum FileAttributeStatus Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: FileAttributeStatus -> FileAttributeStatus Source #

pred :: FileAttributeStatus -> FileAttributeStatus Source #

toEnum :: Int -> FileAttributeStatus Source #

fromEnum :: FileAttributeStatus -> Int Source #

enumFrom :: FileAttributeStatus -> [FileAttributeStatus] Source #

enumFromThen :: FileAttributeStatus -> FileAttributeStatus -> [FileAttributeStatus] Source #

enumFromTo :: FileAttributeStatus -> FileAttributeStatus -> [FileAttributeStatus] Source #

enumFromThenTo :: FileAttributeStatus -> FileAttributeStatus -> FileAttributeStatus -> [FileAttributeStatus] Source #

Show FileAttributeStatus Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> FileAttributeStatus -> ShowS Source # show :: FileAttributeStatus -> String Source # showList :: [FileAttributeStatus] -> ShowS Source #
Eq FileAttributeStatus Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: FileAttributeStatus -> FileAttributeStatus -> Bool Source # (/=) :: FileAttributeStatus -> FileAttributeStatus -> Bool Source #
Ord FileAttributeStatus Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: FileAttributeStatus -> FileAttributeStatus -> Ordering Source #

(<) :: FileAttributeStatus -> FileAttributeStatus -> Bool Source #

(<=) :: FileAttributeStatus -> FileAttributeStatus -> Bool Source #

(>) :: FileAttributeStatus -> FileAttributeStatus -> Bool Source #

(>=) :: FileAttributeStatus -> FileAttributeStatus -> Bool Source #

max :: FileAttributeStatus -> FileAttributeStatus -> FileAttributeStatus Source #

min :: FileAttributeStatus -> FileAttributeStatus -> FileAttributeStatus Source #

BoxedEnum FileAttributeStatus Source # |
Instance details Defined in GI.Gio.Enums
TypedObject FileAttributeStatus Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes FileAttributeStatus Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes FileAttributeStatus Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes FileAttributeStatus = '[] :: [Type]

## FileAttributeType

data FileAttributeType Source #

The data types for file attributes.

Constructors

FileAttributeTypeInvalid | indicates an invalid or uninitialized type.
FileAttributeTypeString | a null terminated UTF8 string.
FileAttributeTypeByteString | a zero terminated string of non-zero bytes.
FileAttributeTypeBoolean | a boolean value.
FileAttributeTypeUint32 | an unsigned 4-byte/32-bit integer.
FileAttributeTypeInt32 | a signed 4-byte/32-bit integer.
FileAttributeTypeUint64 | an unsigned 8-byte/64-bit integer.
FileAttributeTypeInt64 | a signed 8-byte/64-bit integer.
FileAttributeTypeObject | a `Object`.
FileAttributeTypeStringv | a `Nothing` terminated char **. Since 2.22
AnotherFileAttributeType Int | Catch-all for unknown values

#### Instances

Instances details

Enum FileAttributeType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: FileAttributeType -> FileAttributeType Source #

pred :: FileAttributeType -> FileAttributeType Source #

toEnum :: Int -> FileAttributeType Source #

fromEnum :: FileAttributeType -> Int Source #

enumFrom :: FileAttributeType -> [FileAttributeType] Source #

enumFromThen :: FileAttributeType -> FileAttributeType -> [FileAttributeType] Source #

enumFromTo :: FileAttributeType -> FileAttributeType -> [FileAttributeType] Source #

enumFromThenTo :: FileAttributeType -> FileAttributeType -> FileAttributeType -> [FileAttributeType] Source #

Show FileAttributeType Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> FileAttributeType -> ShowS Source # show :: FileAttributeType -> String Source # showList :: [FileAttributeType] -> ShowS Source #
Eq FileAttributeType Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: FileAttributeType -> FileAttributeType -> Bool Source # (/=) :: FileAttributeType -> FileAttributeType -> Bool Source #
Ord FileAttributeType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: FileAttributeType -> FileAttributeType -> Ordering Source #

(<) :: FileAttributeType -> FileAttributeType -> Bool Source #

(<=) :: FileAttributeType -> FileAttributeType -> Bool Source #

(>) :: FileAttributeType -> FileAttributeType -> Bool Source #

(>=) :: FileAttributeType -> FileAttributeType -> Bool Source #

max :: FileAttributeType -> FileAttributeType -> FileAttributeType Source #

min :: FileAttributeType -> FileAttributeType -> FileAttributeType Source #

BoxedEnum FileAttributeType Source # |
Instance details Defined in GI.Gio.Enums
TypedObject FileAttributeType Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes FileAttributeType Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes FileAttributeType Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes FileAttributeType = '[] :: [Type]

## FileMonitorEvent

data FileMonitorEvent Source #

Specifies what type of event a monitor event is.

Constructors

FileMonitorEventChanged | a file changed.
FileMonitorEventChangesDoneHint | a hint that this was probably the last change in a set of changes.
FileMonitorEventDeleted | a file was deleted.
FileMonitorEventCreated | a file was created.
FileMonitorEventAttributeChanged | a file attribute was changed.
FileMonitorEventPreUnmount | the file location will soon be unmounted.
FileMonitorEventUnmounted | the file location was unmounted.
FileMonitorEventMoved | the file was moved -- only sent if the (deprecated) `FileMonitorFlagsSendMoved` flag is set
FileMonitorEventRenamed | the file was renamed within the current directory -- only sent if the `FileMonitorFlagsWatchMoves` flag is set. Since: 2.46.
FileMonitorEventMovedIn | the file was moved into the monitored directory from another location -- only sent if the `FileMonitorFlagsWatchMoves` flag is set. Since: 2.46.
FileMonitorEventMovedOut | the file was moved out of the monitored directory to another location -- only sent if the `FileMonitorFlagsWatchMoves` flag is set. Since: 2.46
AnotherFileMonitorEvent Int | Catch-all for unknown values

#### Instances

Instances details

Enum FileMonitorEvent Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: FileMonitorEvent -> FileMonitorEvent Source #

pred :: FileMonitorEvent -> FileMonitorEvent Source #

toEnum :: Int -> FileMonitorEvent Source #

fromEnum :: FileMonitorEvent -> Int Source #

enumFrom :: FileMonitorEvent -> [FileMonitorEvent] Source #

enumFromThen :: FileMonitorEvent -> FileMonitorEvent -> [FileMonitorEvent] Source #

enumFromTo :: FileMonitorEvent -> FileMonitorEvent -> [FileMonitorEvent] Source #

enumFromThenTo :: FileMonitorEvent -> FileMonitorEvent -> FileMonitorEvent -> [FileMonitorEvent] Source #

Show FileMonitorEvent Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> FileMonitorEvent -> ShowS Source # show :: FileMonitorEvent -> String Source # showList :: [FileMonitorEvent] -> ShowS Source #
Eq FileMonitorEvent Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: FileMonitorEvent -> FileMonitorEvent -> Bool Source # (/=) :: FileMonitorEvent -> FileMonitorEvent -> Bool Source #
Ord FileMonitorEvent Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: FileMonitorEvent -> FileMonitorEvent -> Ordering Source #

(<) :: FileMonitorEvent -> FileMonitorEvent -> Bool Source #

(<=) :: FileMonitorEvent -> FileMonitorEvent -> Bool Source #

(>) :: FileMonitorEvent -> FileMonitorEvent -> Bool Source #

(>=) :: FileMonitorEvent -> FileMonitorEvent -> Bool Source #

max :: FileMonitorEvent -> FileMonitorEvent -> FileMonitorEvent Source #

min :: FileMonitorEvent -> FileMonitorEvent -> FileMonitorEvent Source #

BoxedEnum FileMonitorEvent Source # |
Instance details Defined in GI.Gio.Enums
TypedObject FileMonitorEvent Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes FileMonitorEvent Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes FileMonitorEvent Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes FileMonitorEvent = '[] :: [Type]

## FileType

data FileType Source #

Indicates the file's on-disk type.

On Windows systems a file will never have `FileTypeSymbolicLink` type; use `FileInfo` and `FILE_ATTRIBUTE_STANDARD_IS_SYMLINK` to determine whether a file is a symlink or not. This is due to the fact that NTFS does not have a single filesystem object type for symbolic links - it has files that symlink to files, and directories that symlink to directories. `FileType` enumeration cannot precisely represent this important distinction, which is why all Windows symlinks will continue to be reported as `FileTypeRegular` or `FileTypeDirectory`.

Constructors

FileTypeUnknown | File's type is unknown.
FileTypeRegular | File handle represents a regular file.
FileTypeDirectory | File handle represents a directory.
FileTypeSymbolicLink | File handle represents a symbolic link (Unix systems).
FileTypeSpecial | File is a "special" file, such as a socket, fifo, block device, or character device.
FileTypeShortcut | File is a shortcut (Windows systems).
FileTypeMountable | File is a mountable location.
AnotherFileType Int | Catch-all for unknown values

#### Instances

Instances details

Enum FileType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: FileType -> FileType Source #

pred :: FileType -> FileType Source #

toEnum :: Int -> FileType Source #

fromEnum :: FileType -> Int Source #

enumFrom :: FileType -> [FileType] Source #

enumFromThen :: FileType -> FileType -> [FileType] Source #

enumFromTo :: FileType -> FileType -> [FileType] Source #

enumFromThenTo :: FileType -> FileType -> FileType -> [FileType] Source #

Show FileType Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> FileType -> ShowS Source # show :: FileType -> String Source # showList :: [FileType] -> ShowS Source #
Eq FileType Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: FileType -> FileType -> Bool Source # (/=) :: FileType -> FileType -> Bool Source #
Ord FileType Source # |
Instance details Defined in GI.Gio.Enums Methods compare :: FileType -> FileType -> Ordering Source # (<) :: FileType -> FileType -> Bool Source # (<=) :: FileType -> FileType -> Bool Source # (>) :: FileType -> FileType -> Bool Source # (>=) :: FileType -> FileType -> Bool Source # max :: FileType -> FileType -> FileType Source # min :: FileType -> FileType -> FileType Source #
BoxedEnum FileType Source # |
Instance details Defined in GI.Gio.Enums
TypedObject FileType Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes FileType Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes FileType Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes FileType = '[] :: [Type]

## FilesystemPreviewType

data FilesystemPreviewType Source #

Indicates a hint from the file system whether files should be previewed in a file manager. Returned as the value of the key `FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW`.

Constructors

FilesystemPreviewTypeIfAlways | Only preview files if user has explicitly requested it.
FilesystemPreviewTypeIfLocal | Preview files if user has requested preview of "local" files.
FilesystemPreviewTypeNever | Never preview files.
AnotherFilesystemPreviewType Int | Catch-all for unknown values

#### Instances

Instances details

Enum FilesystemPreviewType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: FilesystemPreviewType -> FilesystemPreviewType Source #

pred :: FilesystemPreviewType -> FilesystemPreviewType Source #

toEnum :: Int -> FilesystemPreviewType Source #

fromEnum :: FilesystemPreviewType -> Int Source #

enumFrom :: FilesystemPreviewType -> [FilesystemPreviewType] Source #

enumFromThen :: FilesystemPreviewType -> FilesystemPreviewType -> [FilesystemPreviewType] Source #

enumFromTo :: FilesystemPreviewType -> FilesystemPreviewType -> [FilesystemPreviewType] Source #

enumFromThenTo :: FilesystemPreviewType -> FilesystemPreviewType -> FilesystemPreviewType -> [FilesystemPreviewType] Source #

Show FilesystemPreviewType Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> FilesystemPreviewType -> ShowS Source # show :: FilesystemPreviewType -> String Source # showList :: [FilesystemPreviewType] -> ShowS Source #
Eq FilesystemPreviewType Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: FilesystemPreviewType -> FilesystemPreviewType -> Bool Source # (/=) :: FilesystemPreviewType -> FilesystemPreviewType -> Bool Source #
Ord FilesystemPreviewType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: FilesystemPreviewType -> FilesystemPreviewType -> Ordering Source #

(<) :: FilesystemPreviewType -> FilesystemPreviewType -> Bool Source #

(<=) :: FilesystemPreviewType -> FilesystemPreviewType -> Bool Source #

(>) :: FilesystemPreviewType -> FilesystemPreviewType -> Bool Source #

(>=) :: FilesystemPreviewType -> FilesystemPreviewType -> Bool Source #

max :: FilesystemPreviewType -> FilesystemPreviewType -> FilesystemPreviewType Source #

min :: FilesystemPreviewType -> FilesystemPreviewType -> FilesystemPreviewType Source #

BoxedEnum FilesystemPreviewType Source # |
Instance details Defined in GI.Gio.Enums
TypedObject FilesystemPreviewType Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes FilesystemPreviewType Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes FilesystemPreviewType Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes FilesystemPreviewType = '[] :: [Type]

## IOErrorEnum

data IOErrorEnum Source #

Error codes returned by GIO functions.

Note that this domain may be extended in future GLib releases. In general, new error codes either only apply to new APIs, or else replace `IOErrorEnumFailed` in cases that were not explicitly distinguished before. You should therefore avoid writing code like

### C code

    if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_FAILED))
      {
        // Assume that this is EPRINTERONFIRE
        ...
      }

but should instead treat all unrecognized error codes the same as `IOErrorEnumFailed`.

See also `PollableReturn` for a cheaper way of returning `IOErrorEnumWouldBlock` to callers without allocating a `GError`.

Constructors

IOErrorEnumFailed | Generic error condition for when an operation fails and no more specific `IOErrorEnum` value is defined.
IOErrorEnumNotFound | File not found.
IOErrorEnumExists | File already exists.
IOErrorEnumIsDirectory | File is a directory.
IOErrorEnumNotDirectory | File is not a directory.
IOErrorEnumNotEmpty | File is a directory that isn't empty.
IOErrorEnumNotRegularFile | File is not a regular file.
IOErrorEnumNotSymbolicLink | File is not a symbolic link.
IOErrorEnumNotMountableFile | File cannot be mounted.
IOErrorEnumFilenameTooLong | Filename is too many characters.
IOErrorEnumInvalidFilename | Filename is invalid or contains invalid characters.
IOErrorEnumTooManyLinks | File contains too many symbolic links.
IOErrorEnumNoSpace | No space left on drive.
IOErrorEnumInvalidArgument | Invalid argument.
IOErrorEnumPermissionDenied | Permission denied.
IOErrorEnumNotSupported | Operation (or one of its parameters) not supported
IOErrorEnumNotMounted | File isn't mounted.
IOErrorEnumAlreadyMounted | File is already mounted.
IOErrorEnumClosed | File was closed.
IOErrorEnumCancelled | Operation was cancelled. See `Cancellable`.
IOErrorEnumPending | Operations are still pending.
IOErrorEnumReadOnly | File is read only.
IOErrorEnumCantCreateBackup | Backup couldn't be created.
IOErrorEnumWrongEtag | File's Entity Tag was incorrect.
IOErrorEnumTimedOut | Operation timed out.
IOErrorEnumWouldRecurse | Operation would be recursive.
IOErrorEnumBusy | File is busy.
IOErrorEnumWouldBlock | Operation would block.
IOErrorEnumHostNotFound | Host couldn't be found (remote operations).
IOErrorEnumWouldMerge | Operation would merge files.
IOErrorEnumFailedHandled | Operation failed and a helper program has already interacted with the user. Do not display any error dialog.
IOErrorEnumTooManyOpenFiles | The current process has too many files open and can't open any more. Duplicate descriptors do count toward this limit. Since 2.20
IOErrorEnumNotInitialized | The object has not been initialized. Since 2.22
IOErrorEnumAddressInUse | The requested address is already in use. Since 2.22
IOErrorEnumPartialInput | Need more input to finish operation. Since 2.24
IOErrorEnumInvalidData | The input data was invalid. Since 2.24
IOErrorEnumDbusError | A remote object generated an error that doesn't correspond to a locally registered `GError` error domain. Use `dbusErrorGetRemoteError` to extract the D-Bus error name and `dbusErrorStripRemoteError` to fix up the message so it matches what was received on the wire. Since 2.26.
IOErrorEnumHostUnreachable | Host unreachable. Since 2.26
IOErrorEnumNetworkUnreachable | Network unreachable. Since 2.26
IOErrorEnumConnectionRefused | Connection refused. Since 2.26
IOErrorEnumProxyFailed | Connection to proxy server failed. Since 2.26
IOErrorEnumProxyAuthFailed | Proxy authentication failed. Since 2.26
IOErrorEnumProxyNeedAuth | Proxy server needs authentication. Since 2.26
IOErrorEnumProxyNotAllowed | Proxy connection is not allowed by ruleset. Since 2.26
IOErrorEnumBrokenPipe | Broken pipe. Since 2.36
IOErrorEnumConnectionClosed | Connection closed by peer. Note that this is the same code as `IOErrorEnumBrokenPipe`; before 2.44 some "connection closed" errors returned `IOErrorEnumBrokenPipe`, but others returned `IOErrorEnumFailed`. Now they should all return the same value, which has this more logical name. Since 2.44.
IOErrorEnumNotConnected | Transport endpoint is not connected. Since 2.44
IOErrorEnumMessageTooLarge | Message too large. Since 2.48.
IOErrorEnumNoSuchDevice | No such device found. Since 2.74
IOErrorEnumDestinationUnset | Destination address unset. Since 2.80
AnotherIOErrorEnum Int | Catch-all for unknown values

#### Instances

Instances details

Enum IOErrorEnum Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: IOErrorEnum -> IOErrorEnum Source #

pred :: IOErrorEnum -> IOErrorEnum Source #

toEnum :: Int -> IOErrorEnum Source #

fromEnum :: IOErrorEnum -> Int Source #

enumFrom :: IOErrorEnum -> [IOErrorEnum] Source #

enumFromThen :: IOErrorEnum -> IOErrorEnum -> [IOErrorEnum] Source #

enumFromTo :: IOErrorEnum -> IOErrorEnum -> [IOErrorEnum] Source #

enumFromThenTo :: IOErrorEnum -> IOErrorEnum -> IOErrorEnum -> [IOErrorEnum] Source #

Show IOErrorEnum Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> IOErrorEnum -> ShowS Source # show :: IOErrorEnum -> String Source # showList :: [IOErrorEnum] -> ShowS Source #
Eq IOErrorEnum Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: IOErrorEnum -> IOErrorEnum -> Bool Source # (/=) :: IOErrorEnum -> IOErrorEnum -> Bool Source #
Ord IOErrorEnum Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: IOErrorEnum -> IOErrorEnum -> Ordering Source #

(<) :: IOErrorEnum -> IOErrorEnum -> Bool Source #

(<=) :: IOErrorEnum -> IOErrorEnum -> Bool Source #

(>) :: IOErrorEnum -> IOErrorEnum -> Bool Source #

(>=) :: IOErrorEnum -> IOErrorEnum -> Bool Source #

max :: IOErrorEnum -> IOErrorEnum -> IOErrorEnum Source #

min :: IOErrorEnum -> IOErrorEnum -> IOErrorEnum Source #

BoxedEnum IOErrorEnum Source # |
Instance details Defined in GI.Gio.Enums
TypedObject IOErrorEnum Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
GErrorClass IOErrorEnum Source # |
Instance details Defined in GI.Gio.Enums Methods gerrorClassDomain :: IOErrorEnum -> Text Source #
HasParentTypes IOErrorEnum Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes IOErrorEnum Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes IOErrorEnum = '[] :: [Type]

catchIOErrorEnum :: IO a -> (IOErrorEnum -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `IOErrorEnum`. This is a specialized version of `catchGErrorJustDomain`.

handleIOErrorEnum :: (IOErrorEnum -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `IOErrorEnum`. This is a specialized version of `handleGErrorJustDomain`.

## IOModuleScopeFlags

data IOModuleScopeFlags Source #

Flags for use with `g_io_module_scope_new()`.

Since: 2.30

Constructors

IOModuleScopeFlagsNone | No module scan flags
IOModuleScopeFlagsBlockDuplicates | When using this scope to load or scan modules, automatically block a modules which has the same base basename as previously loaded module.
AnotherIOModuleScopeFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum IOModuleScopeFlags Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: IOModuleScopeFlags -> IOModuleScopeFlags Source #

pred :: IOModuleScopeFlags -> IOModuleScopeFlags Source #

toEnum :: Int -> IOModuleScopeFlags Source #

fromEnum :: IOModuleScopeFlags -> Int Source #

enumFrom :: IOModuleScopeFlags -> [IOModuleScopeFlags] Source #

enumFromThen :: IOModuleScopeFlags -> IOModuleScopeFlags -> [IOModuleScopeFlags] Source #

enumFromTo :: IOModuleScopeFlags -> IOModuleScopeFlags -> [IOModuleScopeFlags] Source #

enumFromThenTo :: IOModuleScopeFlags -> IOModuleScopeFlags -> IOModuleScopeFlags -> [IOModuleScopeFlags] Source #

Show IOModuleScopeFlags Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> IOModuleScopeFlags -> ShowS Source # show :: IOModuleScopeFlags -> String Source # showList :: [IOModuleScopeFlags] -> ShowS Source #
Eq IOModuleScopeFlags Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: IOModuleScopeFlags -> IOModuleScopeFlags -> Bool Source # (/=) :: IOModuleScopeFlags -> IOModuleScopeFlags -> Bool Source #
Ord IOModuleScopeFlags Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: IOModuleScopeFlags -> IOModuleScopeFlags -> Ordering Source #

(<) :: IOModuleScopeFlags -> IOModuleScopeFlags -> Bool Source #

(<=) :: IOModuleScopeFlags -> IOModuleScopeFlags -> Bool Source #

(>) :: IOModuleScopeFlags -> IOModuleScopeFlags -> Bool Source #

(>=) :: IOModuleScopeFlags -> IOModuleScopeFlags -> Bool Source #

max :: IOModuleScopeFlags -> IOModuleScopeFlags -> IOModuleScopeFlags Source #

min :: IOModuleScopeFlags -> IOModuleScopeFlags -> IOModuleScopeFlags Source #

BoxedEnum IOModuleScopeFlags Source # |
Instance details Defined in GI.Gio.Enums
TypedObject IOModuleScopeFlags Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes IOModuleScopeFlags Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes IOModuleScopeFlags Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes IOModuleScopeFlags = '[] :: [Type]

## MemoryMonitorWarningLevel

data MemoryMonitorWarningLevel Source #

Memory availability warning levels.

Note that because new values might be added, it is recommended that applications check `MemoryMonitorWarningLevel` as ranges, for example:

### C code

    if (warning_level > G_MEMORY_MONITOR_WARNING_LEVEL_LOW)
      drop_caches ();

Since: 2.64

Constructors

MemoryMonitorWarningLevelLow | Memory on the device is low, processes should free up unneeded resources (for example, in-memory caches) so they can be used elsewhere.
MemoryMonitorWarningLevelMedium | Same as `gMEMORYMONITORWARNINGLEVELLOW` but the device has even less free memory, so processes should try harder to free up unneeded resources. If your process does not need to stay running, it is a good time for it to quit.
MemoryMonitorWarningLevelCritical | The system will soon start terminating processes to reclaim memory, including background processes.
AnotherMemoryMonitorWarningLevel Int | Catch-all for unknown values

#### Instances

Instances details

Enum MemoryMonitorWarningLevel Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel Source #

pred :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel Source #

toEnum :: Int -> MemoryMonitorWarningLevel Source #

fromEnum :: MemoryMonitorWarningLevel -> Int Source #

enumFrom :: MemoryMonitorWarningLevel -> [MemoryMonitorWarningLevel] Source #

enumFromThen :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel -> [MemoryMonitorWarningLevel] Source #

enumFromTo :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel -> [MemoryMonitorWarningLevel] Source #

enumFromThenTo :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel -> [MemoryMonitorWarningLevel] Source #

Show MemoryMonitorWarningLevel Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> MemoryMonitorWarningLevel -> ShowS Source # show :: MemoryMonitorWarningLevel -> String Source # showList :: [MemoryMonitorWarningLevel] -> ShowS Source #
Eq MemoryMonitorWarningLevel Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel -> Bool Source # (/=) :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel -> Bool Source #
Ord MemoryMonitorWarningLevel Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel -> Ordering Source #

(<) :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel -> Bool Source #

(<=) :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel -> Bool Source #

(>) :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel -> Bool Source #

(>=) :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel -> Bool Source #

max :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel Source #

min :: MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel -> MemoryMonitorWarningLevel Source #

BoxedEnum MemoryMonitorWarningLevel Source # |
Instance details Defined in GI.Gio.Enums
TypedObject MemoryMonitorWarningLevel Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes MemoryMonitorWarningLevel Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes MemoryMonitorWarningLevel Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes MemoryMonitorWarningLevel = '[] :: [Type]

## MountOperationResult

data MountOperationResult Source #

`MountOperationResult` is returned as a result when a request for information is send by the mounting operation.

Constructors

MountOperationResultHandled | The request was fulfilled and the user specified data is now available
MountOperationResultAborted | The user requested the mount operation to be aborted
MountOperationResultUnhandled | The request was unhandled (i.e. not implemented)
AnotherMountOperationResult Int | Catch-all for unknown values

#### Instances

Instances details

Enum MountOperationResult Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: MountOperationResult -> MountOperationResult Source #

pred :: MountOperationResult -> MountOperationResult Source #

toEnum :: Int -> MountOperationResult Source #

fromEnum :: MountOperationResult -> Int Source #

enumFrom :: MountOperationResult -> [MountOperationResult] Source #

enumFromThen :: MountOperationResult -> MountOperationResult -> [MountOperationResult] Source #

enumFromTo :: MountOperationResult -> MountOperationResult -> [MountOperationResult] Source #

enumFromThenTo :: MountOperationResult -> MountOperationResult -> MountOperationResult -> [MountOperationResult] Source #

Show MountOperationResult Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> MountOperationResult -> ShowS Source # show :: MountOperationResult -> String Source # showList :: [MountOperationResult] -> ShowS Source #
Eq MountOperationResult Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: MountOperationResult -> MountOperationResult -> Bool Source # (/=) :: MountOperationResult -> MountOperationResult -> Bool Source #
Ord MountOperationResult Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: MountOperationResult -> MountOperationResult -> Ordering Source #

(<) :: MountOperationResult -> MountOperationResult -> Bool Source #

(<=) :: MountOperationResult -> MountOperationResult -> Bool Source #

(>) :: MountOperationResult -> MountOperationResult -> Bool Source #

(>=) :: MountOperationResult -> MountOperationResult -> Bool Source #

max :: MountOperationResult -> MountOperationResult -> MountOperationResult Source #

min :: MountOperationResult -> MountOperationResult -> MountOperationResult Source #

BoxedEnum MountOperationResult Source # |
Instance details Defined in GI.Gio.Enums
TypedObject MountOperationResult Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes MountOperationResult Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes MountOperationResult Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes MountOperationResult = '[] :: [Type]

## NetworkConnectivity

data NetworkConnectivity Source #

The host's network connectivity state, as reported by `NetworkMonitor`.

Since: 2.44

Constructors

NetworkConnectivityLocal | The host is not configured with a route to the Internet; it may or may not be connected to a local network.
NetworkConnectivityLimited | The host is connected to a network, but does not appear to be able to reach the full Internet, perhaps due to upstream network problems.
NetworkConnectivityPortal | The host is behind a captive portal and cannot reach the full Internet.
NetworkConnectivityFull | The host is connected to a network, and appears to be able to reach the full Internet.
AnotherNetworkConnectivity Int | Catch-all for unknown values

#### Instances

Instances details

Enum NetworkConnectivity Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: NetworkConnectivity -> NetworkConnectivity Source #

pred :: NetworkConnectivity -> NetworkConnectivity Source #

toEnum :: Int -> NetworkConnectivity Source #

fromEnum :: NetworkConnectivity -> Int Source #

enumFrom :: NetworkConnectivity -> [NetworkConnectivity] Source #

enumFromThen :: NetworkConnectivity -> NetworkConnectivity -> [NetworkConnectivity] Source #

enumFromTo :: NetworkConnectivity -> NetworkConnectivity -> [NetworkConnectivity] Source #

enumFromThenTo :: NetworkConnectivity -> NetworkConnectivity -> NetworkConnectivity -> [NetworkConnectivity] Source #

Show NetworkConnectivity Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> NetworkConnectivity -> ShowS Source # show :: NetworkConnectivity -> String Source # showList :: [NetworkConnectivity] -> ShowS Source #
Eq NetworkConnectivity Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: NetworkConnectivity -> NetworkConnectivity -> Bool Source # (/=) :: NetworkConnectivity -> NetworkConnectivity -> Bool Source #
Ord NetworkConnectivity Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: NetworkConnectivity -> NetworkConnectivity -> Ordering Source #

(<) :: NetworkConnectivity -> NetworkConnectivity -> Bool Source #

(<=) :: NetworkConnectivity -> NetworkConnectivity -> Bool Source #

(>) :: NetworkConnectivity -> NetworkConnectivity -> Bool Source #

(>=) :: NetworkConnectivity -> NetworkConnectivity -> Bool Source #

max :: NetworkConnectivity -> NetworkConnectivity -> NetworkConnectivity Source #

min :: NetworkConnectivity -> NetworkConnectivity -> NetworkConnectivity Source #

BoxedEnum NetworkConnectivity Source # |
Instance details Defined in GI.Gio.Enums
TypedObject NetworkConnectivity Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes NetworkConnectivity Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes NetworkConnectivity Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes NetworkConnectivity = '[] :: [Type]

## NotificationPriority

data NotificationPriority Source #

Priority levels for `GNotifications`.

Since: 2.42

Constructors

NotificationPriorityNormal | the default priority, to be used for the majority of notifications (for example email messages, software updates, completed download/sync operations)
NotificationPriorityLow | for notifications that do not require immediate attention - typically used for contextual background information, such as contact birthdays or local weather
NotificationPriorityHigh | for events that require more attention, usually because responses are time-sensitive (for example chat and SMS messages or alarms)
NotificationPriorityUrgent | for urgent notifications, or notifications that require a response in a short space of time (for example phone calls or emergency warnings)
AnotherNotificationPriority Int | Catch-all for unknown values

#### Instances

Instances details

Enum NotificationPriority Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: NotificationPriority -> NotificationPriority Source #

pred :: NotificationPriority -> NotificationPriority Source #

toEnum :: Int -> NotificationPriority Source #

fromEnum :: NotificationPriority -> Int Source #

enumFrom :: NotificationPriority -> [NotificationPriority] Source #

enumFromThen :: NotificationPriority -> NotificationPriority -> [NotificationPriority] Source #

enumFromTo :: NotificationPriority -> NotificationPriority -> [NotificationPriority] Source #

enumFromThenTo :: NotificationPriority -> NotificationPriority -> NotificationPriority -> [NotificationPriority] Source #

Show NotificationPriority Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> NotificationPriority -> ShowS Source # show :: NotificationPriority -> String Source # showList :: [NotificationPriority] -> ShowS Source #
Eq NotificationPriority Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: NotificationPriority -> NotificationPriority -> Bool Source # (/=) :: NotificationPriority -> NotificationPriority -> Bool Source #
Ord NotificationPriority Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: NotificationPriority -> NotificationPriority -> Ordering Source #

(<) :: NotificationPriority -> NotificationPriority -> Bool Source #

(<=) :: NotificationPriority -> NotificationPriority -> Bool Source #

(>) :: NotificationPriority -> NotificationPriority -> Bool Source #

(>=) :: NotificationPriority -> NotificationPriority -> Bool Source #

max :: NotificationPriority -> NotificationPriority -> NotificationPriority Source #

min :: NotificationPriority -> NotificationPriority -> NotificationPriority Source #

BoxedEnum NotificationPriority Source # |
Instance details Defined in GI.Gio.Enums
TypedObject NotificationPriority Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes NotificationPriority Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes NotificationPriority Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes NotificationPriority = '[] :: [Type]

## PasswordSave

data PasswordSave Source #

`PasswordSave` is used to indicate the lifespan of a saved password.

`Gvfs` stores passwords in the Gnome keyring when this flag allows it to, and later retrieves it again from there.

Constructors

PasswordSaveNever | never save a password.
PasswordSaveForSession | save a password for the session.
PasswordSavePermanently | save a password permanently.
AnotherPasswordSave Int | Catch-all for unknown values

#### Instances

Instances details

Enum PasswordSave Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: PasswordSave -> PasswordSave Source #

pred :: PasswordSave -> PasswordSave Source #

toEnum :: Int -> PasswordSave Source #

fromEnum :: PasswordSave -> Int Source #

enumFrom :: PasswordSave -> [PasswordSave] Source #

enumFromThen :: PasswordSave -> PasswordSave -> [PasswordSave] Source #

enumFromTo :: PasswordSave -> PasswordSave -> [PasswordSave] Source #

enumFromThenTo :: PasswordSave -> PasswordSave -> PasswordSave -> [PasswordSave] Source #

Show PasswordSave Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> PasswordSave -> ShowS Source # show :: PasswordSave -> String Source # showList :: [PasswordSave] -> ShowS Source #
Eq PasswordSave Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: PasswordSave -> PasswordSave -> Bool Source # (/=) :: PasswordSave -> PasswordSave -> Bool Source #
Ord PasswordSave Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: PasswordSave -> PasswordSave -> Ordering Source #

(<) :: PasswordSave -> PasswordSave -> Bool Source #

(<=) :: PasswordSave -> PasswordSave -> Bool Source #

(>) :: PasswordSave -> PasswordSave -> Bool Source #

(>=) :: PasswordSave -> PasswordSave -> Bool Source #

max :: PasswordSave -> PasswordSave -> PasswordSave Source #

min :: PasswordSave -> PasswordSave -> PasswordSave Source #

BoxedEnum PasswordSave Source # |
Instance details Defined in GI.Gio.Enums
TypedObject PasswordSave Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes PasswordSave Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes PasswordSave Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes PasswordSave = '[] :: [Type]

## PollableReturn

data PollableReturn Source #

Return value for various IO operations that signal errors via the return value and not necessarily via a `GError`.

This enum exists to be able to return errors to callers without having to allocate a `GError`. Allocating `GErrors` can be quite expensive for regularly happening errors like `IOErrorEnumWouldBlock`.

In case of `PollableReturnFailed` a `GError` should be set for the operation to give details about the error that happened.

Since: 2.60

Constructors

PollableReturnFailed | Generic error condition for when an operation fails.
PollableReturnOk | The operation was successfully finished.
PollableReturnWouldBlock | The operation would block.
AnotherPollableReturn Int | Catch-all for unknown values

#### Instances

Instances details

Enum PollableReturn Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: PollableReturn -> PollableReturn Source #

pred :: PollableReturn -> PollableReturn Source #

toEnum :: Int -> PollableReturn Source #

fromEnum :: PollableReturn -> Int Source #

enumFrom :: PollableReturn -> [PollableReturn] Source #

enumFromThen :: PollableReturn -> PollableReturn -> [PollableReturn] Source #

enumFromTo :: PollableReturn -> PollableReturn -> [PollableReturn] Source #

enumFromThenTo :: PollableReturn -> PollableReturn -> PollableReturn -> [PollableReturn] Source #

Show PollableReturn Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> PollableReturn -> ShowS Source # show :: PollableReturn -> String Source # showList :: [PollableReturn] -> ShowS Source #
Eq PollableReturn Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: PollableReturn -> PollableReturn -> Bool Source # (/=) :: PollableReturn -> PollableReturn -> Bool Source #
Ord PollableReturn Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: PollableReturn -> PollableReturn -> Ordering Source #

(<) :: PollableReturn -> PollableReturn -> Bool Source #

(<=) :: PollableReturn -> PollableReturn -> Bool Source #

(>) :: PollableReturn -> PollableReturn -> Bool Source #

(>=) :: PollableReturn -> PollableReturn -> Bool Source #

max :: PollableReturn -> PollableReturn -> PollableReturn Source #

min :: PollableReturn -> PollableReturn -> PollableReturn Source #

BoxedEnum PollableReturn Source # |
Instance details Defined in GI.Gio.Enums
TypedObject PollableReturn Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes PollableReturn Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes PollableReturn Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes PollableReturn = '[] :: [Type]

## ResolverError

data ResolverError Source #

An error code used with `G_RESOLVER_ERROR` in a `GError` returned from a `Resolver` routine.

Since: 2.22

Constructors

ResolverErrorNotFound | the requested name/address/service was not found
ResolverErrorTemporaryFailure | the requested information could not be looked up due to a network error or similar problem
ResolverErrorInternal | unknown error
AnotherResolverError Int | Catch-all for unknown values

#### Instances

Instances details

Enum ResolverError Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: ResolverError -> ResolverError Source #

pred :: ResolverError -> ResolverError Source #

toEnum :: Int -> ResolverError Source #

fromEnum :: ResolverError -> Int Source #

enumFrom :: ResolverError -> [ResolverError] Source #

enumFromThen :: ResolverError -> ResolverError -> [ResolverError] Source #

enumFromTo :: ResolverError -> ResolverError -> [ResolverError] Source #

enumFromThenTo :: ResolverError -> ResolverError -> ResolverError -> [ResolverError] Source #

Show ResolverError Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> ResolverError -> ShowS Source # show :: ResolverError -> String Source # showList :: [ResolverError] -> ShowS Source #
Eq ResolverError Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: ResolverError -> ResolverError -> Bool Source # (/=) :: ResolverError -> ResolverError -> Bool Source #
Ord ResolverError Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: ResolverError -> ResolverError -> Ordering Source #

(<) :: ResolverError -> ResolverError -> Bool Source #

(<=) :: ResolverError -> ResolverError -> Bool Source #

(>) :: ResolverError -> ResolverError -> Bool Source #

(>=) :: ResolverError -> ResolverError -> Bool Source #

max :: ResolverError -> ResolverError -> ResolverError Source #

min :: ResolverError -> ResolverError -> ResolverError Source #

BoxedEnum ResolverError Source # |
Instance details Defined in GI.Gio.Enums
TypedObject ResolverError Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
GErrorClass ResolverError Source # |
Instance details Defined in GI.Gio.Enums Methods gerrorClassDomain :: ResolverError -> Text Source #
HasParentTypes ResolverError Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes ResolverError Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes ResolverError = '[] :: [Type]

catchResolverError :: IO a -> (ResolverError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `ResolverError`. This is a specialized version of `catchGErrorJustDomain`.

handleResolverError :: (ResolverError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `ResolverError`. This is a specialized version of `handleGErrorJustDomain`.

## ResolverRecordType

data ResolverRecordType Source #

The type of record that `resolverLookupRecords` or `resolverLookupRecordsAsync` should retrieve. The records are returned as lists of `GVariant` tuples. Each record type has different values in the variant tuples returned.

`ResolverRecordTypeSrv` records are returned as variants with the signature `(qqqs)`, containing a `guint16` with the priority, a `guint16` with the weight, a `guint16` with the port, and a string of the hostname.

`ResolverRecordTypeMx` records are returned as variants with the signature `(qs)`, representing a `guint16` with the preference, and a string containing the mail exchanger hostname.

`ResolverRecordTypeTxt` records are returned as variants with the signature `(as)`, representing an array of the strings in the text record. Note: Most TXT records only contain a single string, but RFC 1035 does allow a record to contain multiple strings. The RFC which defines the interpretation of a specific TXT record will likely require concatenation of multiple strings if they are present, as with RFC 7208.

`ResolverRecordTypeSoa` records are returned as variants with the signature `(ssuuuuu)`, representing a string containing the primary name server, a string containing the administrator, the serial as a `guint32`, the refresh interval as a `guint32`, the retry interval as a `guint32`, the expire timeout as a `guint32`, and the TTL as a `guint32`.

`ResolverRecordTypeNs` records are returned as variants with the signature `(s)`, representing a string of the hostname of the name server.

Since: 2.34

Constructors

ResolverRecordTypeSrv | look up DNS SRV records for a domain
ResolverRecordTypeMx | look up DNS MX records for a domain
ResolverRecordTypeTxt | look up DNS TXT records for a name
ResolverRecordTypeSoa | look up DNS SOA records for a zone
ResolverRecordTypeNs | look up DNS NS records for a domain
AnotherResolverRecordType Int | Catch-all for unknown values

#### Instances

Instances details

Enum ResolverRecordType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: ResolverRecordType -> ResolverRecordType Source #

pred :: ResolverRecordType -> ResolverRecordType Source #

toEnum :: Int -> ResolverRecordType Source #

fromEnum :: ResolverRecordType -> Int Source #

enumFrom :: ResolverRecordType -> [ResolverRecordType] Source #

enumFromThen :: ResolverRecordType -> ResolverRecordType -> [ResolverRecordType] Source #

enumFromTo :: ResolverRecordType -> ResolverRecordType -> [ResolverRecordType] Source #

enumFromThenTo :: ResolverRecordType -> ResolverRecordType -> ResolverRecordType -> [ResolverRecordType] Source #

Show ResolverRecordType Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> ResolverRecordType -> ShowS Source # show :: ResolverRecordType -> String Source # showList :: [ResolverRecordType] -> ShowS Source #
Eq ResolverRecordType Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: ResolverRecordType -> ResolverRecordType -> Bool Source # (/=) :: ResolverRecordType -> ResolverRecordType -> Bool Source #
Ord ResolverRecordType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: ResolverRecordType -> ResolverRecordType -> Ordering Source #

(<) :: ResolverRecordType -> ResolverRecordType -> Bool Source #

(<=) :: ResolverRecordType -> ResolverRecordType -> Bool Source #

(>) :: ResolverRecordType -> ResolverRecordType -> Bool Source #

(>=) :: ResolverRecordType -> ResolverRecordType -> Bool Source #

max :: ResolverRecordType -> ResolverRecordType -> ResolverRecordType Source #

min :: ResolverRecordType -> ResolverRecordType -> ResolverRecordType Source #

BoxedEnum ResolverRecordType Source # |
Instance details Defined in GI.Gio.Enums
TypedObject ResolverRecordType Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes ResolverRecordType Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes ResolverRecordType Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes ResolverRecordType = '[] :: [Type]

## ResourceError

data ResourceError Source #

An error code used with `G_RESOURCE_ERROR` in a `GError` returned from a `Resource` routine.

Since: 2.32

Constructors

ResourceErrorNotFound | no file was found at the requested path
ResourceErrorInternal | unknown error
AnotherResourceError Int | Catch-all for unknown values

#### Instances

Instances details

Enum ResourceError Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: ResourceError -> ResourceError Source #

pred :: ResourceError -> ResourceError Source #

toEnum :: Int -> ResourceError Source #

fromEnum :: ResourceError -> Int Source #

enumFrom :: ResourceError -> [ResourceError] Source #

enumFromThen :: ResourceError -> ResourceError -> [ResourceError] Source #

enumFromTo :: ResourceError -> ResourceError -> [ResourceError] Source #

enumFromThenTo :: ResourceError -> ResourceError -> ResourceError -> [ResourceError] Source #

Show ResourceError Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> ResourceError -> ShowS Source # show :: ResourceError -> String Source # showList :: [ResourceError] -> ShowS Source #
Eq ResourceError Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: ResourceError -> ResourceError -> Bool Source # (/=) :: ResourceError -> ResourceError -> Bool Source #
Ord ResourceError Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: ResourceError -> ResourceError -> Ordering Source #

(<) :: ResourceError -> ResourceError -> Bool Source #

(<=) :: ResourceError -> ResourceError -> Bool Source #

(>) :: ResourceError -> ResourceError -> Bool Source #

(>=) :: ResourceError -> ResourceError -> Bool Source #

max :: ResourceError -> ResourceError -> ResourceError Source #

min :: ResourceError -> ResourceError -> ResourceError Source #

BoxedEnum ResourceError Source # |
Instance details Defined in GI.Gio.Enums
TypedObject ResourceError Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
GErrorClass ResourceError Source # |
Instance details Defined in GI.Gio.Enums Methods gerrorClassDomain :: ResourceError -> Text Source #
HasParentTypes ResourceError Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes ResourceError Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes ResourceError = '[] :: [Type]

catchResourceError :: IO a -> (ResourceError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `ResourceError`. This is a specialized version of `catchGErrorJustDomain`.

handleResourceError :: (ResourceError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `ResourceError`. This is a specialized version of `handleGErrorJustDomain`.

## SocketClientEvent

data SocketClientEvent Source #

Describes an event occurring on a `SocketClient`. See the SocketClient::event signal for more details.

Additional values may be added to this type in the future.

Since: 2.32

Constructors

SocketClientEventResolving | The client is doing a DNS lookup.
SocketClientEventResolved | The client has completed a DNS lookup.
SocketClientEventConnecting | The client is connecting to a remote host (either a proxy or the destination server).
SocketClientEventConnected | The client has connected to a remote host.
SocketClientEventProxyNegotiating | The client is negotiating with a proxy to connect to the destination server.
SocketClientEventProxyNegotiated | The client has negotiated with the proxy server.
SocketClientEventTlsHandshaking | The client is performing a TLS handshake.
SocketClientEventTlsHandshaked | The client has performed a TLS handshake.
SocketClientEventComplete | The client is done with a particular `SocketConnectable`.
AnotherSocketClientEvent Int | Catch-all for unknown values

#### Instances

Instances details

Enum SocketClientEvent Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: SocketClientEvent -> SocketClientEvent Source #

pred :: SocketClientEvent -> SocketClientEvent Source #

toEnum :: Int -> SocketClientEvent Source #

fromEnum :: SocketClientEvent -> Int Source #

enumFrom :: SocketClientEvent -> [SocketClientEvent] Source #

enumFromThen :: SocketClientEvent -> SocketClientEvent -> [SocketClientEvent] Source #

enumFromTo :: SocketClientEvent -> SocketClientEvent -> [SocketClientEvent] Source #

enumFromThenTo :: SocketClientEvent -> SocketClientEvent -> SocketClientEvent -> [SocketClientEvent] Source #

Show SocketClientEvent Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> SocketClientEvent -> ShowS Source # show :: SocketClientEvent -> String Source # showList :: [SocketClientEvent] -> ShowS Source #
Eq SocketClientEvent Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: SocketClientEvent -> SocketClientEvent -> Bool Source # (/=) :: SocketClientEvent -> SocketClientEvent -> Bool Source #
Ord SocketClientEvent Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: SocketClientEvent -> SocketClientEvent -> Ordering Source #

(<) :: SocketClientEvent -> SocketClientEvent -> Bool Source #

(<=) :: SocketClientEvent -> SocketClientEvent -> Bool Source #

(>) :: SocketClientEvent -> SocketClientEvent -> Bool Source #

(>=) :: SocketClientEvent -> SocketClientEvent -> Bool Source #

max :: SocketClientEvent -> SocketClientEvent -> SocketClientEvent Source #

min :: SocketClientEvent -> SocketClientEvent -> SocketClientEvent Source #

BoxedEnum SocketClientEvent Source # |
Instance details Defined in GI.Gio.Enums
TypedObject SocketClientEvent Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes SocketClientEvent Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes SocketClientEvent Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes SocketClientEvent = '[] :: [Type]

## SocketFamily

data SocketFamily Source #

The protocol family of a `SocketAddress`. (These values are identical to the system defines `AF_INET`, `AF_INET6` and `AF_UNIX`, if available.)

Since: 2.22

Constructors

SocketFamilyInvalid | no address family
SocketFamilyUnix | the UNIX domain family
SocketFamilyIpv4 | the IPv4 family
SocketFamilyIpv6 | the IPv6 family
AnotherSocketFamily Int | Catch-all for unknown values

#### Instances

Instances details

Enum SocketFamily Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: SocketFamily -> SocketFamily Source #

pred :: SocketFamily -> SocketFamily Source #

toEnum :: Int -> SocketFamily Source #

fromEnum :: SocketFamily -> Int Source #

enumFrom :: SocketFamily -> [SocketFamily] Source #

enumFromThen :: SocketFamily -> SocketFamily -> [SocketFamily] Source #

enumFromTo :: SocketFamily -> SocketFamily -> [SocketFamily] Source #

enumFromThenTo :: SocketFamily -> SocketFamily -> SocketFamily -> [SocketFamily] Source #

Show SocketFamily Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> SocketFamily -> ShowS Source # show :: SocketFamily -> String Source # showList :: [SocketFamily] -> ShowS Source #
Eq SocketFamily Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: SocketFamily -> SocketFamily -> Bool Source # (/=) :: SocketFamily -> SocketFamily -> Bool Source #
Ord SocketFamily Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: SocketFamily -> SocketFamily -> Ordering Source #

(<) :: SocketFamily -> SocketFamily -> Bool Source #

(<=) :: SocketFamily -> SocketFamily -> Bool Source #

(>) :: SocketFamily -> SocketFamily -> Bool Source #

(>=) :: SocketFamily -> SocketFamily -> Bool Source #

max :: SocketFamily -> SocketFamily -> SocketFamily Source #

min :: SocketFamily -> SocketFamily -> SocketFamily Source #

BoxedEnum SocketFamily Source # |
Instance details Defined in GI.Gio.Enums
TypedObject SocketFamily Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes SocketFamily Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes SocketFamily Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes SocketFamily = '[] :: [Type]

## SocketListenerEvent

data SocketListenerEvent Source #

Describes an event occurring on a `SocketListener`. See the SocketListener::event signal for more details.

Additional values may be added to this type in the future.

Since: 2.46

Constructors

SocketListenerEventBinding | The listener is about to bind a socket.
SocketListenerEventBound | The listener has bound a socket.
SocketListenerEventListening | The listener is about to start listening on this socket.
SocketListenerEventListened | The listener is now listening on this socket.
AnotherSocketListenerEvent Int | Catch-all for unknown values

#### Instances

Instances details

Enum SocketListenerEvent Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: SocketListenerEvent -> SocketListenerEvent Source #

pred :: SocketListenerEvent -> SocketListenerEvent Source #

toEnum :: Int -> SocketListenerEvent Source #

fromEnum :: SocketListenerEvent -> Int Source #

enumFrom :: SocketListenerEvent -> [SocketListenerEvent] Source #

enumFromThen :: SocketListenerEvent -> SocketListenerEvent -> [SocketListenerEvent] Source #

enumFromTo :: SocketListenerEvent -> SocketListenerEvent -> [SocketListenerEvent] Source #

enumFromThenTo :: SocketListenerEvent -> SocketListenerEvent -> SocketListenerEvent -> [SocketListenerEvent] Source #

Show SocketListenerEvent Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> SocketListenerEvent -> ShowS Source # show :: SocketListenerEvent -> String Source # showList :: [SocketListenerEvent] -> ShowS Source #
Eq SocketListenerEvent Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: SocketListenerEvent -> SocketListenerEvent -> Bool Source # (/=) :: SocketListenerEvent -> SocketListenerEvent -> Bool Source #
Ord SocketListenerEvent Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: SocketListenerEvent -> SocketListenerEvent -> Ordering Source #

(<) :: SocketListenerEvent -> SocketListenerEvent -> Bool Source #

(<=) :: SocketListenerEvent -> SocketListenerEvent -> Bool Source #

(>) :: SocketListenerEvent -> SocketListenerEvent -> Bool Source #

(>=) :: SocketListenerEvent -> SocketListenerEvent -> Bool Source #

max :: SocketListenerEvent -> SocketListenerEvent -> SocketListenerEvent Source #

min :: SocketListenerEvent -> SocketListenerEvent -> SocketListenerEvent Source #

BoxedEnum SocketListenerEvent Source # |
Instance details Defined in GI.Gio.Enums
TypedObject SocketListenerEvent Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes SocketListenerEvent Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes SocketListenerEvent Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes SocketListenerEvent = '[] :: [Type]

## SocketProtocol

data SocketProtocol Source #

A protocol identifier is specified when creating a `Socket`, which is a family/type specific identifier, where 0 means the default protocol for the particular family/type.

This enum contains a set of commonly available and used protocols. You can also pass any other identifiers handled by the platform in order to use protocols not listed here.

Since: 2.22

Constructors

SocketProtocolUnknown | The protocol type is unknown
SocketProtocolDefault | The default protocol for the family/type
SocketProtocolTcp | TCP over IP
SocketProtocolUdp | UDP over IP
SocketProtocolSctp | SCTP over IP
AnotherSocketProtocol Int | Catch-all for unknown values

#### Instances

Instances details

Enum SocketProtocol Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: SocketProtocol -> SocketProtocol Source #

pred :: SocketProtocol -> SocketProtocol Source #

toEnum :: Int -> SocketProtocol Source #

fromEnum :: SocketProtocol -> Int Source #

enumFrom :: SocketProtocol -> [SocketProtocol] Source #

enumFromThen :: SocketProtocol -> SocketProtocol -> [SocketProtocol] Source #

enumFromTo :: SocketProtocol -> SocketProtocol -> [SocketProtocol] Source #

enumFromThenTo :: SocketProtocol -> SocketProtocol -> SocketProtocol -> [SocketProtocol] Source #

Show SocketProtocol Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> SocketProtocol -> ShowS Source # show :: SocketProtocol -> String Source # showList :: [SocketProtocol] -> ShowS Source #
Eq SocketProtocol Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: SocketProtocol -> SocketProtocol -> Bool Source # (/=) :: SocketProtocol -> SocketProtocol -> Bool Source #
Ord SocketProtocol Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: SocketProtocol -> SocketProtocol -> Ordering Source #

(<) :: SocketProtocol -> SocketProtocol -> Bool Source #

(<=) :: SocketProtocol -> SocketProtocol -> Bool Source #

(>) :: SocketProtocol -> SocketProtocol -> Bool Source #

(>=) :: SocketProtocol -> SocketProtocol -> Bool Source #

max :: SocketProtocol -> SocketProtocol -> SocketProtocol Source #

min :: SocketProtocol -> SocketProtocol -> SocketProtocol Source #

BoxedEnum SocketProtocol Source # |
Instance details Defined in GI.Gio.Enums
TypedObject SocketProtocol Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes SocketProtocol Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes SocketProtocol Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes SocketProtocol = '[] :: [Type]

## SocketType

data SocketType Source #

Flags used when creating a `Socket`. Some protocols may not implement all the socket types.

Since: 2.22

Constructors

SocketTypeInvalid | Type unknown or wrong
SocketTypeStream | Reliable connection-based byte streams (e.g. TCP).
SocketTypeDatagram | Connectionless, unreliable datagram passing. (e.g. UDP)
SocketTypeSeqpacket | Reliable connection-based passing of datagrams of fixed maximum length (e.g. SCTP).
AnotherSocketType Int | Catch-all for unknown values

#### Instances

Instances details

Enum SocketType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: SocketType -> SocketType Source #

pred :: SocketType -> SocketType Source #

toEnum :: Int -> SocketType Source #

fromEnum :: SocketType -> Int Source #

enumFrom :: SocketType -> [SocketType] Source #

enumFromThen :: SocketType -> SocketType -> [SocketType] Source #

enumFromTo :: SocketType -> SocketType -> [SocketType] Source #

enumFromThenTo :: SocketType -> SocketType -> SocketType -> [SocketType] Source #

Show SocketType Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> SocketType -> ShowS Source # show :: SocketType -> String Source # showList :: [SocketType] -> ShowS Source #
Eq SocketType Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: SocketType -> SocketType -> Bool Source # (/=) :: SocketType -> SocketType -> Bool Source #
Ord SocketType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: SocketType -> SocketType -> Ordering Source #

(<) :: SocketType -> SocketType -> Bool Source #

(<=) :: SocketType -> SocketType -> Bool Source #

(>) :: SocketType -> SocketType -> Bool Source #

(>=) :: SocketType -> SocketType -> Bool Source #

max :: SocketType -> SocketType -> SocketType Source #

min :: SocketType -> SocketType -> SocketType Source #

BoxedEnum SocketType Source # |
Instance details Defined in GI.Gio.Enums
TypedObject SocketType Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes SocketType Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes SocketType Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes SocketType = '[] :: [Type]

## TlsAuthenticationMode

data TlsAuthenticationMode Source #

The client authentication mode for a `TlsServerConnection`.

Since: 2.28

Constructors

TlsAuthenticationModeNone | client authentication not required
TlsAuthenticationModeRequested | client authentication is requested
TlsAuthenticationModeRequired | client authentication is required
AnotherTlsAuthenticationMode Int | Catch-all for unknown values

#### Instances

Instances details

Enum TlsAuthenticationMode Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: TlsAuthenticationMode -> TlsAuthenticationMode Source #

pred :: TlsAuthenticationMode -> TlsAuthenticationMode Source #

toEnum :: Int -> TlsAuthenticationMode Source #

fromEnum :: TlsAuthenticationMode -> Int Source #

enumFrom :: TlsAuthenticationMode -> [TlsAuthenticationMode] Source #

enumFromThen :: TlsAuthenticationMode -> TlsAuthenticationMode -> [TlsAuthenticationMode] Source #

enumFromTo :: TlsAuthenticationMode -> TlsAuthenticationMode -> [TlsAuthenticationMode] Source #

enumFromThenTo :: TlsAuthenticationMode -> TlsAuthenticationMode -> TlsAuthenticationMode -> [TlsAuthenticationMode] Source #

Show TlsAuthenticationMode Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> TlsAuthenticationMode -> ShowS Source # show :: TlsAuthenticationMode -> String Source # showList :: [TlsAuthenticationMode] -> ShowS Source #
Eq TlsAuthenticationMode Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: TlsAuthenticationMode -> TlsAuthenticationMode -> Bool Source # (/=) :: TlsAuthenticationMode -> TlsAuthenticationMode -> Bool Source #
Ord TlsAuthenticationMode Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: TlsAuthenticationMode -> TlsAuthenticationMode -> Ordering Source #

(<) :: TlsAuthenticationMode -> TlsAuthenticationMode -> Bool Source #

(<=) :: TlsAuthenticationMode -> TlsAuthenticationMode -> Bool Source #

(>) :: TlsAuthenticationMode -> TlsAuthenticationMode -> Bool Source #

(>=) :: TlsAuthenticationMode -> TlsAuthenticationMode -> Bool Source #

max :: TlsAuthenticationMode -> TlsAuthenticationMode -> TlsAuthenticationMode Source #

min :: TlsAuthenticationMode -> TlsAuthenticationMode -> TlsAuthenticationMode Source #

BoxedEnum TlsAuthenticationMode Source # |
Instance details Defined in GI.Gio.Enums
TypedObject TlsAuthenticationMode Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes TlsAuthenticationMode Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes TlsAuthenticationMode Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes TlsAuthenticationMode = '[] :: [Type]

## TlsCertificateRequestFlags

data TlsCertificateRequestFlags Source #

Flags for `tlsInteractionRequestCertificate`, `tlsInteractionRequestCertificateAsync`, and `tlsInteractionInvokeRequestCertificate`.

Since: 2.40

Constructors

TlsCertificateRequestFlagsNone | No flags
AnotherTlsCertificateRequestFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum TlsCertificateRequestFlags Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags Source #

pred :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags Source #

toEnum :: Int -> TlsCertificateRequestFlags Source #

fromEnum :: TlsCertificateRequestFlags -> Int Source #

enumFrom :: TlsCertificateRequestFlags -> [TlsCertificateRequestFlags] Source #

enumFromThen :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags -> [TlsCertificateRequestFlags] Source #

enumFromTo :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags -> [TlsCertificateRequestFlags] Source #

enumFromThenTo :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags -> TlsCertificateRequestFlags -> [TlsCertificateRequestFlags] Source #

Show TlsCertificateRequestFlags Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> TlsCertificateRequestFlags -> ShowS Source # show :: TlsCertificateRequestFlags -> String Source # showList :: [TlsCertificateRequestFlags] -> ShowS Source #
Eq TlsCertificateRequestFlags Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags -> Bool Source # (/=) :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags -> Bool Source #
Ord TlsCertificateRequestFlags Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags -> Ordering Source #

(<) :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags -> Bool Source #

(<=) :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags -> Bool Source #

(>) :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags -> Bool Source #

(>=) :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags -> Bool Source #

max :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags -> TlsCertificateRequestFlags Source #

min :: TlsCertificateRequestFlags -> TlsCertificateRequestFlags -> TlsCertificateRequestFlags Source #

BoxedEnum TlsCertificateRequestFlags Source # |
Instance details Defined in GI.Gio.Enums
TypedObject TlsCertificateRequestFlags Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes TlsCertificateRequestFlags Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes TlsCertificateRequestFlags Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes TlsCertificateRequestFlags = '[] :: [Type]

## TlsChannelBindingError

data TlsChannelBindingError Source #

An error code used with `G_TLS_CHANNEL_BINDING_ERROR` in a `GError` to indicate a TLS channel binding retrieval error.

Since: 2.66

Constructors

TlsChannelBindingErrorNotImplemented | Either entire binding retrieval facility or specific binding type is not implemented in the TLS backend.
TlsChannelBindingErrorInvalidState | The handshake is not yet complete on the connection which is a strong requirement for any existing binding type.
TlsChannelBindingErrorNotAvailable | Handshake is complete but binding data is not available. That normally indicates the TLS implementation failed to provide the binding data. For example, some implementations do not provide a peer certificate for resumed connections.
TlsChannelBindingErrorNotSupported | Binding type is not supported on the current connection. This error could be triggered when requesting `tls-server-end-point` binding data for a certificate which has no hash function or uses multiple hash functions.
TlsChannelBindingErrorGeneralError | Any other backend error preventing binding data retrieval.
AnotherTlsChannelBindingError Int | Catch-all for unknown values

#### Instances

Instances details

Enum TlsChannelBindingError Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: TlsChannelBindingError -> TlsChannelBindingError Source #

pred :: TlsChannelBindingError -> TlsChannelBindingError Source #

toEnum :: Int -> TlsChannelBindingError Source #

fromEnum :: TlsChannelBindingError -> Int Source #

enumFrom :: TlsChannelBindingError -> [TlsChannelBindingError] Source #

enumFromThen :: TlsChannelBindingError -> TlsChannelBindingError -> [TlsChannelBindingError] Source #

enumFromTo :: TlsChannelBindingError -> TlsChannelBindingError -> [TlsChannelBindingError] Source #

enumFromThenTo :: TlsChannelBindingError -> TlsChannelBindingError -> TlsChannelBindingError -> [TlsChannelBindingError] Source #

Show TlsChannelBindingError Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> TlsChannelBindingError -> ShowS Source # show :: TlsChannelBindingError -> String Source # showList :: [TlsChannelBindingError] -> ShowS Source #
Eq TlsChannelBindingError Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: TlsChannelBindingError -> TlsChannelBindingError -> Bool Source # (/=) :: TlsChannelBindingError -> TlsChannelBindingError -> Bool Source #
Ord TlsChannelBindingError Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: TlsChannelBindingError -> TlsChannelBindingError -> Ordering Source #

(<) :: TlsChannelBindingError -> TlsChannelBindingError -> Bool Source #

(<=) :: TlsChannelBindingError -> TlsChannelBindingError -> Bool Source #

(>) :: TlsChannelBindingError -> TlsChannelBindingError -> Bool Source #

(>=) :: TlsChannelBindingError -> TlsChannelBindingError -> Bool Source #

max :: TlsChannelBindingError -> TlsChannelBindingError -> TlsChannelBindingError Source #

min :: TlsChannelBindingError -> TlsChannelBindingError -> TlsChannelBindingError Source #

BoxedEnum TlsChannelBindingError Source # |
Instance details Defined in GI.Gio.Enums
TypedObject TlsChannelBindingError Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
GErrorClass TlsChannelBindingError Source # |
Instance details Defined in GI.Gio.Enums Methods gerrorClassDomain :: TlsChannelBindingError -> Text Source #
HasParentTypes TlsChannelBindingError Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes TlsChannelBindingError Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes TlsChannelBindingError = '[] :: [Type]

catchTlsChannelBindingError :: IO a -> (TlsChannelBindingError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `TlsChannelBindingError`. This is a specialized version of `catchGErrorJustDomain`.

handleTlsChannelBindingError :: (TlsChannelBindingError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `TlsChannelBindingError`. This is a specialized version of `handleGErrorJustDomain`.

## TlsChannelBindingType

data TlsChannelBindingType Source #

The type of TLS channel binding data to retrieve from `TlsConnection` or `DtlsConnection`, as documented by RFC 5929 or RFC 9266. The `tls-unique-for-telnet` binding type is not currently implemented.

Since: 2.66

Constructors

TlsChannelBindingTypeUnique | `tls-unique` binding type
TlsChannelBindingTypeServerEndPoint | `tls-server-end-point` binding type
TlsChannelBindingTypeExporter | `tls-exporter` binding type. Since: 2.74
AnotherTlsChannelBindingType Int | Catch-all for unknown values

#### Instances

Instances details

Enum TlsChannelBindingType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: TlsChannelBindingType -> TlsChannelBindingType Source #

pred :: TlsChannelBindingType -> TlsChannelBindingType Source #

toEnum :: Int -> TlsChannelBindingType Source #

fromEnum :: TlsChannelBindingType -> Int Source #

enumFrom :: TlsChannelBindingType -> [TlsChannelBindingType] Source #

enumFromThen :: TlsChannelBindingType -> TlsChannelBindingType -> [TlsChannelBindingType] Source #

enumFromTo :: TlsChannelBindingType -> TlsChannelBindingType -> [TlsChannelBindingType] Source #

enumFromThenTo :: TlsChannelBindingType -> TlsChannelBindingType -> TlsChannelBindingType -> [TlsChannelBindingType] Source #

Show TlsChannelBindingType Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> TlsChannelBindingType -> ShowS Source # show :: TlsChannelBindingType -> String Source # showList :: [TlsChannelBindingType] -> ShowS Source #
Eq TlsChannelBindingType Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: TlsChannelBindingType -> TlsChannelBindingType -> Bool Source # (/=) :: TlsChannelBindingType -> TlsChannelBindingType -> Bool Source #
Ord TlsChannelBindingType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: TlsChannelBindingType -> TlsChannelBindingType -> Ordering Source #

(<) :: TlsChannelBindingType -> TlsChannelBindingType -> Bool Source #

(<=) :: TlsChannelBindingType -> TlsChannelBindingType -> Bool Source #

(>) :: TlsChannelBindingType -> TlsChannelBindingType -> Bool Source #

(>=) :: TlsChannelBindingType -> TlsChannelBindingType -> Bool Source #

max :: TlsChannelBindingType -> TlsChannelBindingType -> TlsChannelBindingType Source #

min :: TlsChannelBindingType -> TlsChannelBindingType -> TlsChannelBindingType Source #

BoxedEnum TlsChannelBindingType Source # |
Instance details Defined in GI.Gio.Enums
TypedObject TlsChannelBindingType Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes TlsChannelBindingType Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes TlsChannelBindingType Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes TlsChannelBindingType = '[] :: [Type]

## TlsDatabaseLookupFlags

data TlsDatabaseLookupFlags Source #

Flags for `tlsDatabaseLookupCertificateForHandle`, `tlsDatabaseLookupCertificateIssuer`, and `tlsDatabaseLookupCertificatesIssuedBy`.

Since: 2.30

Constructors

TlsDatabaseLookupFlagsNone | No lookup flags
TlsDatabaseLookupFlagsKeypair | Restrict lookup to certificates that have a private key.
AnotherTlsDatabaseLookupFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum TlsDatabaseLookupFlags Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags Source #

pred :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags Source #

toEnum :: Int -> TlsDatabaseLookupFlags Source #

fromEnum :: TlsDatabaseLookupFlags -> Int Source #

enumFrom :: TlsDatabaseLookupFlags -> [TlsDatabaseLookupFlags] Source #

enumFromThen :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags -> [TlsDatabaseLookupFlags] Source #

enumFromTo :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags -> [TlsDatabaseLookupFlags] Source #

enumFromThenTo :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags -> [TlsDatabaseLookupFlags] Source #

Show TlsDatabaseLookupFlags Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> TlsDatabaseLookupFlags -> ShowS Source # show :: TlsDatabaseLookupFlags -> String Source # showList :: [TlsDatabaseLookupFlags] -> ShowS Source #
Eq TlsDatabaseLookupFlags Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags -> Bool Source # (/=) :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags -> Bool Source #
Ord TlsDatabaseLookupFlags Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags -> Ordering Source #

(<) :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags -> Bool Source #

(<=) :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags -> Bool Source #

(>) :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags -> Bool Source #

(>=) :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags -> Bool Source #

max :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags Source #

min :: TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags -> TlsDatabaseLookupFlags Source #

BoxedEnum TlsDatabaseLookupFlags Source # |
Instance details Defined in GI.Gio.Enums
TypedObject TlsDatabaseLookupFlags Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes TlsDatabaseLookupFlags Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes TlsDatabaseLookupFlags Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes TlsDatabaseLookupFlags = '[] :: [Type]

## TlsError

data TlsError Source #

An error code used with `G_TLS_ERROR` in a `GError` returned from a TLS-related routine.

Since: 2.28

Constructors

TlsErrorUnavailable | No TLS provider is available
TlsErrorMisc | Miscellaneous TLS error
TlsErrorBadCertificate | The certificate presented could not be parsed or failed validation.
TlsErrorNotTls | The TLS handshake failed because the peer does not seem to be a TLS server.
TlsErrorHandshake | The TLS handshake failed because the peer's certificate was not acceptable.
TlsErrorCertificateRequired | The TLS handshake failed because the server requested a client-side certificate, but none was provided. See `tlsConnectionSetCertificate`.
TlsErrorEof | The TLS connection was closed without proper notice, which may indicate an attack. See `tlsConnectionSetRequireCloseNotify`.
TlsErrorInappropriateFallback | The TLS handshake failed because the client sent the fallback SCSV, indicating a protocol downgrade attack. Since: 2.60
TlsErrorBadCertificatePassword | The certificate failed to load because a password was incorrect. Since: 2.72
AnotherTlsError Int | Catch-all for unknown values

#### Instances

Instances details

Enum TlsError Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: TlsError -> TlsError Source #

pred :: TlsError -> TlsError Source #

toEnum :: Int -> TlsError Source #

fromEnum :: TlsError -> Int Source #

enumFrom :: TlsError -> [TlsError] Source #

enumFromThen :: TlsError -> TlsError -> [TlsError] Source #

enumFromTo :: TlsError -> TlsError -> [TlsError] Source #

enumFromThenTo :: TlsError -> TlsError -> TlsError -> [TlsError] Source #

Show TlsError Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> TlsError -> ShowS Source # show :: TlsError -> String Source # showList :: [TlsError] -> ShowS Source #
Eq TlsError Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: TlsError -> TlsError -> Bool Source # (/=) :: TlsError -> TlsError -> Bool Source #
Ord TlsError Source # |
Instance details Defined in GI.Gio.Enums Methods compare :: TlsError -> TlsError -> Ordering Source # (<) :: TlsError -> TlsError -> Bool Source # (<=) :: TlsError -> TlsError -> Bool Source # (>) :: TlsError -> TlsError -> Bool Source # (>=) :: TlsError -> TlsError -> Bool Source # max :: TlsError -> TlsError -> TlsError Source # min :: TlsError -> TlsError -> TlsError Source #
BoxedEnum TlsError Source # |
Instance details Defined in GI.Gio.Enums
TypedObject TlsError Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
GErrorClass TlsError Source # |
Instance details Defined in GI.Gio.Enums Methods gerrorClassDomain :: TlsError -> Text Source #
HasParentTypes TlsError Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes TlsError Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes TlsError = '[] :: [Type]

catchTlsError :: IO a -> (TlsError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `TlsError`. This is a specialized version of `catchGErrorJustDomain`.

handleTlsError :: (TlsError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `TlsError`. This is a specialized version of `handleGErrorJustDomain`.

## TlsInteractionResult

data TlsInteractionResult Source #

`TlsInteractionResult` is returned by various functions in `TlsInteraction` when finishing an interaction request.

Since: 2.30

Constructors

TlsInteractionResultUnhandled | The interaction was unhandled (i.e. not implemented).
TlsInteractionResultHandled | The interaction completed, and resulting data is available.
TlsInteractionResultFailed | The interaction has failed, or was cancelled. and the operation should be aborted.
AnotherTlsInteractionResult Int | Catch-all for unknown values

#### Instances

Instances details

Enum TlsInteractionResult Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: TlsInteractionResult -> TlsInteractionResult Source #

pred :: TlsInteractionResult -> TlsInteractionResult Source #

toEnum :: Int -> TlsInteractionResult Source #

fromEnum :: TlsInteractionResult -> Int Source #

enumFrom :: TlsInteractionResult -> [TlsInteractionResult] Source #

enumFromThen :: TlsInteractionResult -> TlsInteractionResult -> [TlsInteractionResult] Source #

enumFromTo :: TlsInteractionResult -> TlsInteractionResult -> [TlsInteractionResult] Source #

enumFromThenTo :: TlsInteractionResult -> TlsInteractionResult -> TlsInteractionResult -> [TlsInteractionResult] Source #

Show TlsInteractionResult Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> TlsInteractionResult -> ShowS Source # show :: TlsInteractionResult -> String Source # showList :: [TlsInteractionResult] -> ShowS Source #
Eq TlsInteractionResult Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: TlsInteractionResult -> TlsInteractionResult -> Bool Source # (/=) :: TlsInteractionResult -> TlsInteractionResult -> Bool Source #
Ord TlsInteractionResult Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: TlsInteractionResult -> TlsInteractionResult -> Ordering Source #

(<) :: TlsInteractionResult -> TlsInteractionResult -> Bool Source #

(<=) :: TlsInteractionResult -> TlsInteractionResult -> Bool Source #

(>) :: TlsInteractionResult -> TlsInteractionResult -> Bool Source #

(>=) :: TlsInteractionResult -> TlsInteractionResult -> Bool Source #

max :: TlsInteractionResult -> TlsInteractionResult -> TlsInteractionResult Source #

min :: TlsInteractionResult -> TlsInteractionResult -> TlsInteractionResult Source #

BoxedEnum TlsInteractionResult Source # |
Instance details Defined in GI.Gio.Enums
TypedObject TlsInteractionResult Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes TlsInteractionResult Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes TlsInteractionResult Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes TlsInteractionResult = '[] :: [Type]

## TlsProtocolVersion

data TlsProtocolVersion Source #

The TLS or DTLS protocol version used by a `TlsConnection` or `DtlsConnection`. The integer values of these versions are sequential to ensure newer known protocol versions compare greater than older known versions. Any known DTLS protocol version will compare greater than any SSL or TLS protocol version. The protocol version may be `TlsProtocolVersionUnknown` if the TLS backend supports a newer protocol version that GLib does not yet know about. This means that it's possible for an unknown DTLS protocol version to compare less than the TLS protocol versions.

Since: 2.70

Constructors

TlsProtocolVersionUnknown | No protocol version or unknown protocol version
TlsProtocolVersionSsl30 | SSL 3.0, which is insecure and should not be used
TlsProtocolVersionTls10 | TLS 1.0, which is insecure and should not be used
TlsProtocolVersionTls11 | TLS 1.1, which is insecure and should not be used
TlsProtocolVersionTls12 | TLS 1.2, defined by RFC 5246
TlsProtocolVersionTls13 | TLS 1.3, defined by RFC 8446
TlsProtocolVersionDtls10 | DTLS 1.0, which is insecure and should not be used
TlsProtocolVersionDtls12 | DTLS 1.2, defined by RFC 6347
AnotherTlsProtocolVersion Int | Catch-all for unknown values

#### Instances

Instances details

Enum TlsProtocolVersion Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: TlsProtocolVersion -> TlsProtocolVersion Source #

pred :: TlsProtocolVersion -> TlsProtocolVersion Source #

toEnum :: Int -> TlsProtocolVersion Source #

fromEnum :: TlsProtocolVersion -> Int Source #

enumFrom :: TlsProtocolVersion -> [TlsProtocolVersion] Source #

enumFromThen :: TlsProtocolVersion -> TlsProtocolVersion -> [TlsProtocolVersion] Source #

enumFromTo :: TlsProtocolVersion -> TlsProtocolVersion -> [TlsProtocolVersion] Source #

enumFromThenTo :: TlsProtocolVersion -> TlsProtocolVersion -> TlsProtocolVersion -> [TlsProtocolVersion] Source #

Show TlsProtocolVersion Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> TlsProtocolVersion -> ShowS Source # show :: TlsProtocolVersion -> String Source # showList :: [TlsProtocolVersion] -> ShowS Source #
Eq TlsProtocolVersion Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: TlsProtocolVersion -> TlsProtocolVersion -> Bool Source # (/=) :: TlsProtocolVersion -> TlsProtocolVersion -> Bool Source #
Ord TlsProtocolVersion Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: TlsProtocolVersion -> TlsProtocolVersion -> Ordering Source #

(<) :: TlsProtocolVersion -> TlsProtocolVersion -> Bool Source #

(<=) :: TlsProtocolVersion -> TlsProtocolVersion -> Bool Source #

(>) :: TlsProtocolVersion -> TlsProtocolVersion -> Bool Source #

(>=) :: TlsProtocolVersion -> TlsProtocolVersion -> Bool Source #

max :: TlsProtocolVersion -> TlsProtocolVersion -> TlsProtocolVersion Source #

min :: TlsProtocolVersion -> TlsProtocolVersion -> TlsProtocolVersion Source #

BoxedEnum TlsProtocolVersion Source # |
Instance details Defined in GI.Gio.Enums
TypedObject TlsProtocolVersion Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes TlsProtocolVersion Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes TlsProtocolVersion Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes TlsProtocolVersion = '[] :: [Type]

## TlsRehandshakeMode

data TlsRehandshakeMode Source #

Deprecated: (Since version 2.60.)Changing the rehandshake mode is no longer required for compatibility. Also, rehandshaking has been removed from the TLS protocol in TLS 1.3.

When to allow rehandshaking. See `tlsConnectionSetRehandshakeMode`.

Since: 2.28

Constructors

TlsRehandshakeModeNever | Never allow rehandshaking
TlsRehandshakeModeSafely | Allow safe rehandshaking only
TlsRehandshakeModeUnsafely | Allow unsafe rehandshaking
AnotherTlsRehandshakeMode Int | Catch-all for unknown values

#### Instances

Instances details

Enum TlsRehandshakeMode Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: TlsRehandshakeMode -> TlsRehandshakeMode Source #

pred :: TlsRehandshakeMode -> TlsRehandshakeMode Source #

toEnum :: Int -> TlsRehandshakeMode Source #

fromEnum :: TlsRehandshakeMode -> Int Source #

enumFrom :: TlsRehandshakeMode -> [TlsRehandshakeMode] Source #

enumFromThen :: TlsRehandshakeMode -> TlsRehandshakeMode -> [TlsRehandshakeMode] Source #

enumFromTo :: TlsRehandshakeMode -> TlsRehandshakeMode -> [TlsRehandshakeMode] Source #

enumFromThenTo :: TlsRehandshakeMode -> TlsRehandshakeMode -> TlsRehandshakeMode -> [TlsRehandshakeMode] Source #

Show TlsRehandshakeMode Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> TlsRehandshakeMode -> ShowS Source # show :: TlsRehandshakeMode -> String Source # showList :: [TlsRehandshakeMode] -> ShowS Source #
Eq TlsRehandshakeMode Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: TlsRehandshakeMode -> TlsRehandshakeMode -> Bool Source # (/=) :: TlsRehandshakeMode -> TlsRehandshakeMode -> Bool Source #
Ord TlsRehandshakeMode Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: TlsRehandshakeMode -> TlsRehandshakeMode -> Ordering Source #

(<) :: TlsRehandshakeMode -> TlsRehandshakeMode -> Bool Source #

(<=) :: TlsRehandshakeMode -> TlsRehandshakeMode -> Bool Source #

(>) :: TlsRehandshakeMode -> TlsRehandshakeMode -> Bool Source #

(>=) :: TlsRehandshakeMode -> TlsRehandshakeMode -> Bool Source #

max :: TlsRehandshakeMode -> TlsRehandshakeMode -> TlsRehandshakeMode Source #

min :: TlsRehandshakeMode -> TlsRehandshakeMode -> TlsRehandshakeMode Source #

BoxedEnum TlsRehandshakeMode Source # |
Instance details Defined in GI.Gio.Enums
TypedObject TlsRehandshakeMode Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes TlsRehandshakeMode Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes TlsRehandshakeMode Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes TlsRehandshakeMode = '[] :: [Type]

## UnixSocketAddressType

data UnixSocketAddressType Source #

The type of name used by a `UnixSocketAddress`. `UnixSocketAddressTypePath` indicates a traditional unix domain socket bound to a filesystem path. `UnixSocketAddressTypeAnonymous` indicates a socket not bound to any name (eg, a client-side socket, or a socket created with `socketpair()`).

For abstract sockets, there are two incompatible ways of naming them; the man pages suggest using the entire `struct sockaddr_un` as the name, padding the unused parts of the `sun_path` field with zeroes; this corresponds to `UnixSocketAddressTypeAbstractPadded`. However, many programs instead just use a portion of `sun_path`, and pass an appropriate smaller length to `bind()` or `connect()`. This is `UnixSocketAddressTypeAbstract`.

Since: 2.26

Constructors

UnixSocketAddressTypeInvalid | invalid
UnixSocketAddressTypeAnonymous | anonymous
UnixSocketAddressTypePath | a filesystem path
UnixSocketAddressTypeAbstract | an abstract name
UnixSocketAddressTypeAbstractPadded | an abstract name, 0-padded to the full length of a unix socket name
AnotherUnixSocketAddressType Int | Catch-all for unknown values

#### Instances

Instances details

Enum UnixSocketAddressType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: UnixSocketAddressType -> UnixSocketAddressType Source #

pred :: UnixSocketAddressType -> UnixSocketAddressType Source #

toEnum :: Int -> UnixSocketAddressType Source #

fromEnum :: UnixSocketAddressType -> Int Source #

enumFrom :: UnixSocketAddressType -> [UnixSocketAddressType] Source #

enumFromThen :: UnixSocketAddressType -> UnixSocketAddressType -> [UnixSocketAddressType] Source #

enumFromTo :: UnixSocketAddressType -> UnixSocketAddressType -> [UnixSocketAddressType] Source #

enumFromThenTo :: UnixSocketAddressType -> UnixSocketAddressType -> UnixSocketAddressType -> [UnixSocketAddressType] Source #

Show UnixSocketAddressType Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> UnixSocketAddressType -> ShowS Source # show :: UnixSocketAddressType -> String Source # showList :: [UnixSocketAddressType] -> ShowS Source #
Eq UnixSocketAddressType Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: UnixSocketAddressType -> UnixSocketAddressType -> Bool Source # (/=) :: UnixSocketAddressType -> UnixSocketAddressType -> Bool Source #
Ord UnixSocketAddressType Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: UnixSocketAddressType -> UnixSocketAddressType -> Ordering Source #

(<) :: UnixSocketAddressType -> UnixSocketAddressType -> Bool Source #

(<=) :: UnixSocketAddressType -> UnixSocketAddressType -> Bool Source #

(>) :: UnixSocketAddressType -> UnixSocketAddressType -> Bool Source #

(>=) :: UnixSocketAddressType -> UnixSocketAddressType -> Bool Source #

max :: UnixSocketAddressType -> UnixSocketAddressType -> UnixSocketAddressType Source #

min :: UnixSocketAddressType -> UnixSocketAddressType -> UnixSocketAddressType Source #

BoxedEnum UnixSocketAddressType Source # |
Instance details Defined in GI.Gio.Enums
TypedObject UnixSocketAddressType Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes UnixSocketAddressType Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes UnixSocketAddressType Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes UnixSocketAddressType = '[] :: [Type]

## ZlibCompressorFormat

data ZlibCompressorFormat Source #

Used to select the type of data format to use for `ZlibDecompressor` and `ZlibCompressor`.

Since: 2.24

Constructors

ZlibCompressorFormatZlib | deflate compression with zlib header
ZlibCompressorFormatGzip | gzip file format
ZlibCompressorFormatRaw | deflate compression with no header
AnotherZlibCompressorFormat Int | Catch-all for unknown values

#### Instances

Instances details

Enum ZlibCompressorFormat Source # |

Instance details

Defined in GI.Gio.Enums

Methods

succ :: ZlibCompressorFormat -> ZlibCompressorFormat Source #

pred :: ZlibCompressorFormat -> ZlibCompressorFormat Source #

toEnum :: Int -> ZlibCompressorFormat Source #

fromEnum :: ZlibCompressorFormat -> Int Source #

enumFrom :: ZlibCompressorFormat -> [ZlibCompressorFormat] Source #

enumFromThen :: ZlibCompressorFormat -> ZlibCompressorFormat -> [ZlibCompressorFormat] Source #

enumFromTo :: ZlibCompressorFormat -> ZlibCompressorFormat -> [ZlibCompressorFormat] Source #

enumFromThenTo :: ZlibCompressorFormat -> ZlibCompressorFormat -> ZlibCompressorFormat -> [ZlibCompressorFormat] Source #

Show ZlibCompressorFormat Source # |
Instance details Defined in GI.Gio.Enums Methods showsPrec :: Int -> ZlibCompressorFormat -> ShowS Source # show :: ZlibCompressorFormat -> String Source # showList :: [ZlibCompressorFormat] -> ShowS Source #
Eq ZlibCompressorFormat Source # |
Instance details Defined in GI.Gio.Enums Methods (==) :: ZlibCompressorFormat -> ZlibCompressorFormat -> Bool Source # (/=) :: ZlibCompressorFormat -> ZlibCompressorFormat -> Bool Source #
Ord ZlibCompressorFormat Source # |

Instance details

Defined in GI.Gio.Enums

Methods

compare :: ZlibCompressorFormat -> ZlibCompressorFormat -> Ordering Source #

(<) :: ZlibCompressorFormat -> ZlibCompressorFormat -> Bool Source #

(<=) :: ZlibCompressorFormat -> ZlibCompressorFormat -> Bool Source #

(>) :: ZlibCompressorFormat -> ZlibCompressorFormat -> Bool Source #

(>=) :: ZlibCompressorFormat -> ZlibCompressorFormat -> Bool Source #

max :: ZlibCompressorFormat -> ZlibCompressorFormat -> ZlibCompressorFormat Source #

min :: ZlibCompressorFormat -> ZlibCompressorFormat -> ZlibCompressorFormat Source #

BoxedEnum ZlibCompressorFormat Source # |
Instance details Defined in GI.Gio.Enums
TypedObject ZlibCompressorFormat Source # |
Instance details Defined in GI.Gio.Enums Methods glibType :: IO GType Source #
HasParentTypes ZlibCompressorFormat Source # |
Instance details Defined in GI.Gio.Enums
type ParentTypes ZlibCompressorFormat Source # |
Instance details Defined in GI.Gio.Enums type ParentTypes ZlibCompressorFormat = '[] :: [Type]