sparkleplug/sparkplug_b/node_message_types
Types
pub type NodeMessageType {
NBIRTH
NDEATH
NDATA
NCMD
}
Constructors
-
NBIRTH -
NDEATH -
NDATA -
NCMD
pub type NodeMessageTypeParseError {
NodeMessageTypeParseError(message: String)
}
Constructors
-
NodeMessageTypeParseError(message: String)
Functions
pub fn from_string(
message_type_string: String,
) -> Result(NodeMessageType, NodeMessageTypeParseError)