Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.NM.Objects.DeviceBond
Description
No description available in the introspection data.
Synopsis
- newtype DeviceBond = DeviceBond (ManagedPtr DeviceBond)
- class (GObject o, IsDescendantOf DeviceBond o) => IsDeviceBond o
- toDeviceBond :: (MonadIO m, IsDeviceBond o) => o -> m DeviceBond
- deviceBondGetCarrier :: (HasCallStack, MonadIO m, IsDeviceBond a) => a -> m Bool
- deviceBondGetSlaves :: (HasCallStack, MonadIO m, IsDeviceBond a) => a -> m [Device]
- getDeviceBondCarrier :: (MonadIO m, IsDeviceBond o) => o -> m Bool
Exported types
newtype DeviceBond Source #
Memory-managed wrapper type.
Constructors
DeviceBond (ManagedPtr DeviceBond) |
Instances
Eq DeviceBond Source # | |
Defined in GI.NM.Objects.DeviceBond | |
GObject DeviceBond Source # | |
Defined in GI.NM.Objects.DeviceBond | |
ManagedPtrNewtype DeviceBond Source # | |
Defined in GI.NM.Objects.DeviceBond Methods | |
TypedObject DeviceBond Source # | |
Defined in GI.NM.Objects.DeviceBond | |
HasParentTypes DeviceBond Source # | |
Defined in GI.NM.Objects.DeviceBond | |
IsGValue (Maybe DeviceBond) Source # | Convert |
Defined in GI.NM.Objects.DeviceBond Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DeviceBond -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DeviceBond) # | |
type ParentTypes DeviceBond Source # | |
Defined in GI.NM.Objects.DeviceBond |
class (GObject o, IsDescendantOf DeviceBond o) => IsDeviceBond o Source #
Type class for types which can be safely cast to DeviceBond
, for instance with toDeviceBond
.
Instances
(GObject o, IsDescendantOf DeviceBond o) => IsDeviceBond o Source # | |
Defined in GI.NM.Objects.DeviceBond |
toDeviceBond :: (MonadIO m, IsDeviceBond o) => o -> m DeviceBond Source #
Cast to DeviceBond
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, connectionCompatible, connectionValid, delete, deleteAsync, deleteFinish, disconnect, disconnectAsync, disconnectFinish, filterConnections, forceFloating, freezeNotify, getv, isFloating, isReal, isSoftware, notify, notifyByPspec, reapply, reapplyAsync, reapplyFinish, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getActiveConnection, getAppliedConnection, getAppliedConnectionAsync, getAppliedConnectionFinish, getAutoconnect, getAvailableConnections, getCapabilities, getCarrier, getClient, getConnectivity, getData, getDescription, getDeviceType, getDhcp4Config, getDhcp6Config, getDriver, getDriverVersion, getFirmwareMissing, getFirmwareVersion, getHwAddress, getIface, getInterfaceFlags, getIp4Config, getIp6Config, getIpIface, getLldpNeighbors, getManaged, getMetered, getMtu, getNmPluginMissing, getPath, getPhysicalPortId, getPorts, getProduct, getProperty, getQdata, getSettingType, getSlaves, getState, getStateReason, getTypeDescription, getUdi, getVendor.
Setters
setAutoconnect, setData, setDataFull, setManaged, setProperty.
getCarrier
Arguments
:: (HasCallStack, MonadIO m, IsDeviceBond a) | |
=> a |
|
-> m Bool | Returns: |
Whether the device has carrier.
getSlaves
Arguments
:: (HasCallStack, MonadIO m, IsDeviceBond a) | |
=> a |
|
-> m [Device] | Returns: the |
Deprecated: (Since version 1.34)Use deviceGetPorts
instead.
Gets the devices currently attached as port to device
.
Properties
carrier
Whether the device has carrier.
getDeviceBondCarrier :: (MonadIO m, IsDeviceBond o) => o -> m Bool Source #
Get the value of the “carrier
” property.
When overloading is enabled, this is equivalent to
get
deviceBond #carrier