[][src]Crate onc_rpc

An implementation of RFC 5531, including the defined types, authentication flavors and fast (de)serialisation.

Modules

auth

A set of basic auth flavors specified in RFC 5531.

Structs

AcceptedReply

A type sent in response to a request that contains credentials accepted by the server.

CallBody

A request invoking an RPC.

RpcMessage

An Open Network Computing RPC message, generic over a source of bytes (T) and a payload buffer (P`).

Enums

AcceptedStatus

The response status code for a request that contains valid credentials.

AuthError

AuthError describes the reason the request authentication credentials were rejected.

Error

Error types returned by this crate.

MessageType

The type of RPC message.

RejectedReply

The response type for a rejected RPC invocation.

ReplyBody

ReplyBody defines the response to an RPC invocation.

Functions

expected_message_len

Reads the message header from data, and returns the expected wire length of the RPC message.