sparkleplug/sparkplug_b/topic_namespace

Types

pub type TopicNamespace {
  SpAv10
  SpBv10
}

Constructors

  • SpAv10
  • SpBv10
pub type TopicNamespaceParseError {
  TopicNamespaceParseError(message: String)
}

Constructors

  • TopicNamespaceParseError(message: String)

Functions

pub fn from_string(
  namespace_string: String,
) -> Result(TopicNamespace, TopicNamespaceParseError)
pub fn to_string(topic_namespace: TopicNamespace) -> String
Search Document