Skip to main content

Metadata

Type Alias Metadata 

Source
pub type Metadata = BTreeMap<Cow<'static, str>, MetadataValue>;
Expand description

An ordered dictionary of named diagnostic values belonging to a single error context.

Functions returning metadata document the keys and their meaning. crate::Exn::metadata() and crate::Error::metadata() yield non-empty dictionaries separately; dictionaries from independent causes are never merged.

Aliased Typeยง

pub struct Metadata { /* private fields */ }