gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Objects.DeviceInfiniband

Description

No description available in the introspection data.

Synopsis

Exported types

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

Instances details
(GObject o, IsDescendantOf DeviceInfiniband o) => IsDeviceInfiniband o Source # 
Instance details

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

getCarrier

deviceInfinibandGetCarrier Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceInfiniband a) 
=> a

device: a DeviceInfiniband

-> m Bool

Returns: True if the device has carrier

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