pub trait DeprecationSink { // Required method fn emit(self, message: &str); }
Destination for a deprecation message when accessing a deprecated value.
Emits the given deprecation message into this sink.
Emits the deprecation message as a warning.