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§
Sourcefn to_log_data(&self) -> LogData
fn to_log_data(&self) -> LogData
Convert into a LogData
object.
Sourcefn into_log_data(self) -> LogData
fn into_log_data(self) -> LogData
Consume and convert into a LogData
object.