pub trait CaptureFn<M, S>: Fn(&mut M, &Buffer<S>) { }
Expand description

The function that will be called when a captured Buffer is ready to be read.

Implementors§

source§

impl<M, S, F> CaptureFn<M, S> for F
where F: Fn(&mut M, &Buffer<S>),