Trait DeprecationSink

Source
pub trait DeprecationSink {
    // Required method
    fn emit(self, message: &str);
}
Expand description

Destination for a deprecation message when accessing a deprecated value.

Required Methods§

Source

fn emit(self, message: &str)

Emits the given deprecation message into this sink.

Implementations on Foreign Types§

Source§

impl DeprecationSink for (&mut Engine<'_>, Span)

Source§

fn emit(self, message: &str)

Emits the deprecation message as a warning.

Source§

impl DeprecationSink for ()

Source§

fn emit(self, _: &str)

Implementors§