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.SettingVrf
Description
VRF settings
Since: 1.24
Synopsis
- newtype SettingVrf = SettingVrf (ManagedPtr SettingVrf)
- class (GObject o, IsDescendantOf SettingVrf o) => IsSettingVrf o
- toSettingVrf :: (MonadIO m, IsSettingVrf o) => o -> m SettingVrf
- settingVrfGetTable :: (HasCallStack, MonadIO m, IsSettingVrf a) => a -> m Word32
- settingVrfNew :: (HasCallStack, MonadIO m) => m SettingVrf
- constructSettingVrfTable :: (IsSettingVrf o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingVrfTable :: (MonadIO m, IsSettingVrf o) => o -> m Word32
- setSettingVrfTable :: (MonadIO m, IsSettingVrf o) => o -> Word32 -> m ()
Exported types
newtype SettingVrf Source #
Memory-managed wrapper type.
Constructors
SettingVrf (ManagedPtr SettingVrf) |
Instances
Eq SettingVrf Source # | |
Defined in GI.NM.Objects.SettingVrf | |
GObject SettingVrf Source # | |
Defined in GI.NM.Objects.SettingVrf | |
ManagedPtrNewtype SettingVrf Source # | |
Defined in GI.NM.Objects.SettingVrf Methods | |
TypedObject SettingVrf Source # | |
Defined in GI.NM.Objects.SettingVrf | |
HasParentTypes SettingVrf Source # | |
Defined in GI.NM.Objects.SettingVrf | |
IsGValue (Maybe SettingVrf) Source # | Convert |
Defined in GI.NM.Objects.SettingVrf Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingVrf -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingVrf) # | |
type ParentTypes SettingVrf Source # | |
Defined in GI.NM.Objects.SettingVrf |
class (GObject o, IsDescendantOf SettingVrf o) => IsSettingVrf o Source #
Type class for types which can be safely cast to SettingVrf
, for instance with toSettingVrf
.
Instances
(GObject o, IsDescendantOf SettingVrf o) => IsSettingVrf o Source # | |
Defined in GI.NM.Objects.SettingVrf |
toSettingVrf :: (MonadIO m, IsSettingVrf o) => o -> m SettingVrf Source #
Cast to SettingVrf
, 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, compare, diff, duplicate, enumerateValues, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, optionClearByName, optionGet, optionGetAllNames, optionGetBoolean, optionGetUint32, optionSet, optionSetBoolean, optionSetUint32, ref, refSink, runDispose, stealData, stealQdata, thawNotify, toString, unref, verify, verifySecrets, watchClosure.
Getters
getData, getDbusPropertyType, getName, getProperty, getQdata, getSecretFlags, getTable.
Setters
getTable
Arguments
:: (HasCallStack, MonadIO m, IsSettingVrf a) | |
=> a |
|
-> m Word32 | Returns: the routing table for the VRF |
No description available in the introspection data.
Since: 1.24
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingVrf | Returns: the new empty |
Creates a new SettingVrf
object with default values.
Since: 1.24
Properties
table
The routing table for this VRF.
Since: 1.24
constructSettingVrfTable :: (IsSettingVrf o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “table
” property. This is rarely needed directly, but it is used by new
.
getSettingVrfTable :: (MonadIO m, IsSettingVrf o) => o -> m Word32 Source #
Get the value of the “table
” property.
When overloading is enabled, this is equivalent to
get
settingVrf #table
setSettingVrfTable :: (MonadIO m, IsSettingVrf o) => o -> Word32 -> m () Source #
Set the value of the “table
” property.
When overloading is enabled, this is equivalent to
set
settingVrf [ #table:=
value ]