Crate opcua_core [] [src]

The OPC UA Core module holds functionality that is common to server and clients that make use of OPC UA It contains functionality such as message chunking, cryptography / pki and standard handshake messages.

Modules

comms

Contains all code related to sending / receiving messages from a transport and turning those messages into and out of chunks.

config
crypto

Crypto related functionality. It is used for establishing trust between a client and server via certificate exchange and validation. It also used for encrypting / decrypting messages and signing messages.

debug

Contains debugging utility helper functions

prelude

The prelude mod contains all the things you typically need to access from a client / server.

Functions

init_logging

OPC UA for Rust uses the standard log crate for internal logging purposes. This function can be called by executable targets (e.g. inside main() set up) to enable logging. The default implementation uses env_logger to provide console based output. Set the RUST_OPCUA_LOG environment variable with the default log level, e.g. RUST_OPCUA_LOG=debug for more logging. See env_logger for more filtering options.