diagnostics_message

Function from_structured

Source
pub fn from_structured(
    source: MonikerWithUrl,
    bytes: &[u8],
) -> Result<LogsData, MessageError>
Expand description

Constructs a LogsData from the provided bytes, assuming the bytes are in the format specified as in the [log encoding].

[log encoding] https://fuchsia.dev/fuchsia-src/development/logs/encodings