Skip to main content

WarningHandler

Trait WarningHandler 

Source
pub trait WarningHandler<N>: Handler<N, Warning> { }
Expand description

Handlers that can receive the Warnings raised during context processing.

A blanket alias for jsonld_core::warning::Handler<N, Warning>, so any handler of Warning qualifies — including warning::Print to print them to standard error, () to discard them, and warning::WarningBuf to collect them for inspection.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<N, H> WarningHandler<N> for H
where H: Handler<N, Warning>,