pub enum Plugin {
Config(Arc<dyn OsqueryPlugin>),
Logger(Arc<dyn OsqueryPlugin>),
Table(TablePlugin),
}
Variants§
Implementations§
Source§impl Plugin
impl Plugin
pub fn table<T: Table + 'static>(t: T) -> Self
pub fn readonly_table<T: ReadOnlyTable + 'static>(t: T) -> Self
pub fn config<C: ConfigPlugin + 'static>(c: C) -> Self
pub fn logger<L: LoggerPlugin + 'static>(l: L) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plugin
impl !RefUnwindSafe for Plugin
impl Send for Plugin
impl Sync for Plugin
impl Unpin for Plugin
impl !UnwindSafe for Plugin
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