pub trait NodeManagementService: Service {
    fn add_nodes(
        &self,
        nodes_to_add: &[AddNodesItem]
    ) -> Result<Vec<AddNodesResult>, StatusCode>; fn add_references(
        &self,
        references_to_add: &[AddReferencesItem]
    ) -> Result<Vec<StatusCode>, StatusCode>; fn delete_nodes(
        &self,
        nodes_to_delete: &[DeleteNodesItem]
    ) -> Result<Vec<StatusCode>, StatusCode>; fn delete_references(
        &self,
        references_to_delete: &[DeleteReferencesItem]
    ) -> Result<Vec<StatusCode>, StatusCode>; }
Expand description

NodeManagement Service set

Required methods

Add nodes by sending a AddNodesRequest to the server.

See OPC UA Part 4 - Services 5.7.2 for complete description of the service and error responses.

Arguments
  • nodes_to_add - A list of AddNodesItem to be added to the server.
Returns
  • Ok(Vec<AddNodesResult>) - A list of AddNodesResult corresponding to each add node operation.
  • Err(StatusCode) - Status code reason for failure.

Add references by sending a AddReferencesRequest to the server.

See OPC UA Part 4 - Services 5.7.3 for complete description of the service and error responses.

Arguments
Returns
  • Ok(Vec<StatusCode>) - A list of StatusCode corresponding to each add reference operation.
  • Err(StatusCode) - Status code reason for failure.

Delete nodes by sending a DeleteNodesRequest to the server.

See OPC UA Part 4 - Services 5.7.4 for complete description of the service and error responses.

Arguments
Returns
  • Ok(Vec<StatusCode>) - A list of StatusCode corresponding to each delete node operation.
  • Err(StatusCode) - Status code reason for failure.

Delete references by sending a DeleteReferencesRequest to the server.

See OPC UA Part 4 - Services 5.7.5 for complete description of the service and error responses.

Arguments
Returns
  • Ok(Vec<StatusCode>) - A list of StatusCode corresponding to each delete node operation.
  • Err(StatusCode) - Status code reason for failure.

Implementors