Snmp.Instrumentation behaviour (elixir_snmp v0.2.1) View Source

Describes behaviour for module implementing MIB instrumentation functions

Link to this section Summary

Link to this section Types

Specs

col() :: integer()

Specs

gen_err() :: :genErr

Specs

get_err() :: {:noValue, :noSuchObject | :noSuchInstance}

Specs

get_ret() :: {:value, term()} | get_err()

Specs

is_set_ok_err() ::
  :noAccess
  | :noCreation
  | :inconsistentValue
  | :resourceUnavailable
  | :inconsistentName

Specs

is_set_ok_ret() :: :noError | is_set_ok_err()

Specs

oid() :: [integer()]

Specs

row_index() :: [integer()]

Specs

set_err() :: :commitFailed | :undoFailed

Specs

undo_err() :: :undoFailed

Specs

varname() :: atom()

Link to this section Functions

Link to this macro

me(args \\ [])

View Source (macro)
Link to this macro

me(record, args)

View Source (macro)

Link to this section Callbacks

Link to this callback

build_extra(varname, any)

View Source

Specs

build_extra(varname :: atom(), any()) :: any()