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

Contains most of the things that are typically required from a client / server.

Macros

opcua_init_env_logger

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.

trace_lock_unwrap

Tracing macro for obtaining a lock on a Mutex.

trace_read_lock_unwrap

Tracing macro for obtaining a read lock on a RwLock.

trace_write_lock_unwrap

Tracing macro for obtaining a write lock on a RwLock.