Trait IntoGuard

Source
pub trait IntoGuard {
    // Required method
    fn into_guard(self) -> Guard;
}
Expand description

Trait for types that can be converted into a guard

Required Methods§

Source

fn into_guard(self) -> Guard

Convert into a guard

Implementations on Foreign Types§

Source§

impl<F> IntoGuard for (&str, F)
where F: Fn(&Context, &Event) -> bool + Send + Sync + 'static,

Implementors§