pub struct CaptureListenInput<'t> {
pub thread_pool: ThreadPool,
pub reader: LazyTableReader<'t>,
pub writer: LazyTableWriter<'t>,
}
Expand description
§The input to a capture listening plugin
It has two fields containing the vtables needed to access tables imported through
the tables API, as well as a ThreadPool
to run tasks
in the background.
Fields§
§thread_pool: ThreadPool
Accessors to the thread pool for submitting routines to
reader: LazyTableReader<'t>
Accessors to read table entries
writer: LazyTableWriter<'t>
Accessors to modify table entries
Trait Implementations§
Auto Trait Implementations§
impl<'t> Freeze for CaptureListenInput<'t>
impl<'t> RefUnwindSafe for CaptureListenInput<'t>
impl<'t> !Send for CaptureListenInput<'t>
impl<'t> !Sync for CaptureListenInput<'t>
impl<'t> Unpin for CaptureListenInput<'t>
impl<'t> UnwindSafe for CaptureListenInput<'t>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more