Skip to main content

WarningHandler

Trait WarningHandler 

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

Handler for the warnings emitted while expanding a JSON-LD document.

This is an alias for a jsonld_core::warning::Handler of Warning, automatically implemented by every such handler. The unit type () is a handler that discards every warning.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

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