Module protocol

Module protocol 

Source
Expand description

Protocol module for handling MikroTik API communication.

Modules§

command
Module containing the command parser and response types.
error
Module containing the error types for the command parser.
sentence
Module containing the sentence parser and response types.
word
Module containing the word parser and response types.

Structs§

DoneResponse
Represents a (tagged) successful command completion response.
ReplyResponse
Represents a reply to a command, including a tag and multiple attributes.
TrapResponse
Represents an error or warning while executing a command, including a tag and message.

Enums§

CommandResponse
Various types of responses a command can produce.
TrapCategory
Categories for TrapResponse, defining the nature of the trap.
TrapCategoryError
Errors that can occur while parsing trap categories in response sentences.

Type Aliases§

FatalResponse
Type alias for a fatal response String.