pub struct LoggerPluginWrapper<L: LoggerPlugin> { /* private fields */ }
Expand description
Wrapper that adapts a LoggerPlugin to the OsqueryPlugin interface.
This wrapper handles the complexity of osquery’s logger protocol, parsing different request formats and calling the appropriate methods on your LoggerPlugin implementation.
You typically don’t need to interact with this directly - use
Plugin::logger()
to create plugins.
Implementations§
Source§impl<L: LoggerPlugin> LoggerPluginWrapper<L>
impl<L: LoggerPlugin> LoggerPluginWrapper<L>
Trait Implementations§
Source§impl<L: LoggerPlugin> OsqueryPlugin for LoggerPluginWrapper<L>
impl<L: LoggerPlugin> OsqueryPlugin for LoggerPluginWrapper<L>
Auto Trait Implementations§
impl<L> Freeze for LoggerPluginWrapper<L>where
L: Freeze,
impl<L> RefUnwindSafe for LoggerPluginWrapper<L>where
L: RefUnwindSafe,
impl<L> Send for LoggerPluginWrapper<L>
impl<L> Sync for LoggerPluginWrapper<L>
impl<L> Unpin for LoggerPluginWrapper<L>where
L: Unpin,
impl<L> UnwindSafe for LoggerPluginWrapper<L>where
L: UnwindSafe,
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