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.DeviceTeam
Description
No description available in the introspection data.
Synopsis
- newtype DeviceTeam = DeviceTeam (ManagedPtr DeviceTeam)
- class (GObject o, IsDescendantOf DeviceTeam o) => IsDeviceTeam o
- toDeviceTeam :: (MonadIO m, IsDeviceTeam o) => o -> m DeviceTeam
- deviceTeamGetCarrier :: (HasCallStack, MonadIO m, IsDeviceTeam a) => a -> m Bool
- deviceTeamGetConfig :: (HasCallStack, MonadIO m, IsDeviceTeam a) => a -> m Text
- deviceTeamGetSlaves :: (HasCallStack, MonadIO m, IsDeviceTeam a) => a -> m [Device]
- getDeviceTeamCarrier :: (MonadIO m, IsDeviceTeam o) => o -> m Bool
- getDeviceTeamConfig :: (MonadIO m, IsDeviceTeam o) => o -> m Text
Exported types
newtype DeviceTeam Source #
Memory-managed wrapper type.
Constructors
DeviceTeam (ManagedPtr DeviceTeam) |
Instances
Eq DeviceTeam Source # | |
Defined in GI.NM.Objects.DeviceTeam | |
GObject DeviceTeam Source # | |
Defined in GI.NM.Objects.DeviceTeam | |
ManagedPtrNewtype DeviceTeam Source # | |
Defined in GI.NM.Objects.DeviceTeam Methods | |
TypedObject DeviceTeam Source # | |
Defined in GI.NM.Objects.DeviceTeam | |
HasParentTypes DeviceTeam Source # | |
Defined in GI.NM.Objects.DeviceTeam | |
IsGValue (Maybe DeviceTeam) Source # | Convert |
Defined in GI.NM.Objects.DeviceTeam Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DeviceTeam -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DeviceTeam) # | |
type ParentTypes DeviceTeam Source # | |
Defined in GI.NM.Objects.DeviceTeam |
class (GObject o, IsDescendantOf DeviceTeam o) => IsDeviceTeam o Source #
Type class for types which can be safely cast to DeviceTeam
, for instance with toDeviceTeam
.
Instances
(GObject o, IsDescendantOf DeviceTeam o) => IsDeviceTeam o Source # | |
Defined in GI.NM.Objects.DeviceTeam |
toDeviceTeam :: (MonadIO m, IsDeviceTeam o) => o -> m DeviceTeam Source #
Cast to DeviceTeam
, 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, getConfig, 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, IsDeviceTeam a) | |
=> a |
|
-> m Bool | Returns: |
Whether the device has carrier.
getConfig
Arguments
:: (HasCallStack, MonadIO m, IsDeviceTeam a) | |
=> a |
|
-> m Text | Returns: the current configuration. This is the internal string used by the device, and must not be modified. |
Gets the current JSON configuration of the DeviceTeam
Since: 1.4
getSlaves
Arguments
:: (HasCallStack, MonadIO m, IsDeviceTeam a) | |
=> a |
|
-> m [Device] | Returns: the |
Deprecated: (Since version 1.34)Use deviceGetPorts
instead.
Gets the devices currently attach as port to device
.
Properties
carrier
Whether the device has carrier.
getDeviceTeamCarrier :: (MonadIO m, IsDeviceTeam o) => o -> m Bool Source #
Get the value of the “carrier
” property.
When overloading is enabled, this is equivalent to
get
deviceTeam #carrier
config
The current JSON configuration of the device.
Since: 1.4
getDeviceTeamConfig :: (MonadIO m, IsDeviceTeam o) => o -> m Text Source #
Get the value of the “config
” property.
When overloading is enabled, this is equivalent to
get
deviceTeam #config