alloy_primitives

Trait IntoLogData

Source
pub trait IntoLogData {
    // Required methods
    fn to_log_data(&self) -> LogData;
    fn into_log_data(self) -> LogData;
}
Expand description

Trait for an object that can be converted into a log data object.

Required Methods§

Source

fn to_log_data(&self) -> LogData

Convert into a LogData object.

Source

fn into_log_data(self) -> LogData

Consume and convert into a LogData object.

Implementors§