Skip to main content

encode_event_log_record

Function encode_event_log_record 

Source
pub fn encode_event_log_record(
    record: &BACnetEventLogRecord,
    buf: &mut BytesMut,
) -> Result<(), Error>
Expand description

Encode one Event Log record.

Fails, leaving buf unchanged, for a notification that would not encode, such as one whose raw event values aren’t a well-formed run of tagged fields.