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.DeviceInfiniband
Description
No description available in the introspection data.
Synopsis
- newtype DeviceInfiniband = DeviceInfiniband (ManagedPtr DeviceInfiniband)
- class (GObject o, IsDescendantOf DeviceInfiniband o) => IsDeviceInfiniband o
- toDeviceInfiniband :: (MonadIO m, IsDeviceInfiniband o) => o -> m DeviceInfiniband
- deviceInfinibandGetCarrier :: (HasCallStack, MonadIO m, IsDeviceInfiniband a) => a -> m Bool
- getDeviceInfinibandCarrier :: (MonadIO m, IsDeviceInfiniband o) => o -> m Bool
Exported types
newtype DeviceInfiniband Source #
Memory-managed wrapper type.
Constructors
DeviceInfiniband (ManagedPtr DeviceInfiniband) |
Instances
Eq DeviceInfiniband Source # | |
Defined in GI.NM.Objects.DeviceInfiniband Methods (==) :: DeviceInfiniband -> DeviceInfiniband -> Bool # (/=) :: DeviceInfiniband -> DeviceInfiniband -> Bool # | |
GObject DeviceInfiniband Source # | |
Defined in GI.NM.Objects.DeviceInfiniband | |
ManagedPtrNewtype DeviceInfiniband Source # | |
Defined in GI.NM.Objects.DeviceInfiniband Methods toManagedPtr :: DeviceInfiniband -> ManagedPtr DeviceInfiniband # | |
TypedObject DeviceInfiniband Source # | |
Defined in GI.NM.Objects.DeviceInfiniband | |
HasParentTypes DeviceInfiniband Source # | |
Defined in GI.NM.Objects.DeviceInfiniband | |
IsGValue (Maybe DeviceInfiniband) Source # | Convert |
Defined in GI.NM.Objects.DeviceInfiniband Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DeviceInfiniband -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DeviceInfiniband) # | |
type ParentTypes DeviceInfiniband Source # | |
Defined in GI.NM.Objects.DeviceInfiniband |
class (GObject o, IsDescendantOf DeviceInfiniband o) => IsDeviceInfiniband o Source #
Type class for types which can be safely cast to DeviceInfiniband
, for instance with toDeviceInfiniband
.
Instances
(GObject o, IsDescendantOf DeviceInfiniband o) => IsDeviceInfiniband o Source # | |
Defined in GI.NM.Objects.DeviceInfiniband |
toDeviceInfiniband :: (MonadIO m, IsDeviceInfiniband o) => o -> m DeviceInfiniband Source #
Cast to DeviceInfiniband
, 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, getState, getStateReason, getTypeDescription, getUdi, getVendor.
Setters
setAutoconnect, setData, setDataFull, setManaged, setProperty.
getCarrier
deviceInfinibandGetCarrier Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceInfiniband a) | |
=> a |
|
-> m Bool | Returns: |
Whether the device has carrier.
Properties
carrier
Whether the device has carrier.
getDeviceInfinibandCarrier :: (MonadIO m, IsDeviceInfiniband o) => o -> m Bool Source #
Get the value of the “carrier
” property.
When overloading is enabled, this is equivalent to
get
deviceInfiniband #carrier