Trait warn::Warn
[−]
[src]
pub trait Warn<W> { fn warn(&mut self, warning: W); }
Trait for objects that can accept warnings.
Required Methods
fn warn(&mut self, warning: W)
This method is the receiver of the warnings.
Implementors
impl<W> Warn<W> for Vec<W>
impl<W> Warn<W> for Ignore
impl<W: Any + Debug + Send> Warn<W> for Panic
impl<W: Debug> Warn<W> for Log
impl<'a, WF, WT, W: Warn<WT>, F: FnMut(WF) -> WT> Warn<WF> for RevMap<'a, WF, WT, W, F>
impl<W, F: FnMut(W)> Warn<W> for Closure<W, F>
impl<WT, WF: Into<WT>, W: Warn<WT>> Warn<WF> for Wrap<WT, W>