You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: module.rs
    path of file: ./repos/pulsar/crates/pulsar-core/src/pdk
    
    the code of the file until where you have to start completion: use std::{borrow::Cow, fmt, future::Future, ops::Deref, sync::Arc, time::UNIX_EPOCH};

use crate::{
    bus::{Bus, BusError},
    event::{Event, Header, Payload, Threat, Value},
};
use anyhow::Result;
use bpf_common::{program::BpfEvent, time::Timestamp, Pid};
use semver::Version;
use serde::{Deserialize, Serialize};
use tokio::sync::{
    broadcast::{self, error::RecvError},
    mpsc,
};
use validatron::Validatron;

use super::{
    process_tracker::{ProcessInfo, ProcessTrackerHandle},
    CleanExit, ModuleContext, ShutdownSignal,
};

pub type PulsarModuleTask = dyn Future<Output = Result<CleanExit, ModuleError>> + Send;

pub type ModuleStartFn = dyn Fn(ModuleContext, ShutdownSignal) -> Box<PulsarModuleTask> + Send;

/// Main implementation of [`TaskLauncher`] for creating Pulsar pluggable modules.
///
/// Contains informations to identify a module and the receipe to start its task.
pub struct PulsarModule {
    pub name: ModuleName,
    pub info: ModuleDetails,
    pub task_start
    
    fn get_class() -> validatron::ValidatronClass {
        Self::class_builder()
            .primitive_class_builder(
                Box::new(|s| Ok(ModuleName(Cow::Owned(s.to_string())))),
                Box::new(|op| match op {
                    validatron::Operator::String(op) => match op {
                        validatron::StringOperator::StartsWith => {
                            Ok(Box::new(|a, b| a.0.as_ref().starts_with(b.0.as_ref())))
                        }
                        validatron::StringOperator::EndsWith => {
                            Ok(Box::new(|a, b| a.0.as_ref().ends_with(b.0.as_ref())))
                        }
                    },
                    validatron::Operator::Relational(op) => {
                        Ok(Box::new(move |a, b| op.apply(a, b)))
                    }
                    _ => Err(validatron::ValidatronError::OperatorNotAllowedOnType(
                        op,
                        "ModuleName".to_string(),
                    )),
                }),
            )
            .build()
    }