pub trait ExtraKeys {
const ALLOWED_KEYS: &'static [&'static str];
// Required method
fn into_ffi_extra(self) -> HashMap<String, String>;
}Required Associated Constants§
Sourceconst ALLOWED_KEYS: &'static [&'static str]
const ALLOWED_KEYS: &'static [&'static str]
List of allowed extra keys as strings.
Required Methods§
Sourcefn into_ffi_extra(self) -> HashMap<String, String>
fn into_ffi_extra(self) -> HashMap<String, String>
Convert the event extras into a hashmap of extra key to extra value.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".