Crate teleinfo_nom
source ·Expand description
teleinfo-nom
A lib to parse teleinfo (french power provider)
Modules
Structs
- TeleinfoDate struct represents a date sent in a teleinfo message in standard mode
- Representation of a full message from teleinfo
- TeleinfoValue represents the value and date of a message line from Teleinfo
Enums
- TeleinfoMessageType describes if the message is a short message or a normal message
- TeleinfoMeterType describes if the meter is monophasé or triphase
- Describes the mode of a Teleinfo message
Functions
- Read message from an readable object
source
, withleftover
being the unparsed string from a previous call Returns a tuple with to be parsed in a next call string asleftover
and the first found TeleinfoMessage - Read message from an readable object
source
bufferized, withleftover
being the unparsed string from a previous call Returns a tuple with data to be parsed in a next call string asleftover
and the first found TeleinfoMessage