The OPC UA Server module contains the server side functionality - address space, services, server security, session management, local discovery server registration and subscriptions.
Usage
An implementation will usually start by building a ServerConfig, either
from a configuration file, or through code. Then it will construct a Server, initialise
its address space, and then run it.
Example
This is a very simple server which runs with the default address space on the default port.
use opcua_server::prelude::*;
fn main() {
let server: Server = ServerBuilder::new_sample().server().unwrap();
server.run();
}