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.SettingVrf

Description

VRF settings

Since: 1.24

Synopsis

Exported types

newtype SettingVrf Source #

Memory-managed wrapper type.

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

Instances details
(GObject o, IsDescendantOf SettingVrf o) => IsSettingVrf o Source # 
Instance details

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

getTable

settingVrfGetTable Source #

Arguments

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

setting: the SettingVrf

-> m Word32

Returns: the routing table for the VRF

No description available in the introspection data.

Since: 1.24

new

settingVrfNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m SettingVrf

Returns: the new empty SettingVrf object

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 ]