Skip to main content

DataTaggingPlugin

Trait DataTaggingPlugin 

Source
pub trait DataTaggingPlugin: Send + Sync {
    // Required methods
    fn set_tags(&mut self, endpoint_guid: [u8; 16], tags: Vec<DataTag>);
    fn get_tags(&self, endpoint_guid: [u8; 16]) -> Vec<DataTag>;
    fn plugin_class_id(&self) -> &str;
}
Expand description

Data tagging plugin (spec §8.7.2).

Required Methods§

Source

fn set_tags(&mut self, endpoint_guid: [u8; 16], tags: Vec<DataTag>)

Attach tags to an endpoint (DataWriter/Reader). The tags are propagated to remote participants via SEDP.

Source

fn get_tags(&self, endpoint_guid: [u8; 16]) -> Vec<DataTag>

Query the tags of an endpoint.

Source

fn plugin_class_id(&self) -> &str

Plugin class id.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§