Skip to main content

Module message

Module message 

Source

Structs§

DataPayload
Zero-copy wrapper around a Bytes buffer with span offsets pointing to the <data> content within an RPC reply.
RpcError
RpcReply

Enums§

RpcReplyBody
ServerMessage
A message received from the NETCONF server.

Functions§

build_rpc
Build an RPC envelope around inner XML content using quick-xml’s Writer.
classify_message
Classify and parse an incoming server message in a single pass.
next_message_id
parse_rpc_reply
Standalone entry point for parsing an <rpc-reply> (used by tests).