Struct pact_plugin_driver::plugin_models::PactPlugin  [−][src]
pub struct PactPlugin {
    pub manifest: PactPluginManifest,
    pub child: Arc<ChildPluginProcess>,
    // some fields omitted
}Expand description
Running plugin details
Fields
manifest: PactPluginManifestManifest for this plugin
child: Arc<ChildPluginProcess>Running child process
Implementations
Create a new Plugin
Update the access of the plugin
Decrement and return the access count for the plugin
Trait Implementations
fn init_plugin<'life0, 'async_trait>(
    &'life0 self, 
    request: InitPluginRequest
) -> Pin<Box<dyn Future<Output = Result<InitPluginResponse>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
fn init_plugin<'life0, 'async_trait>(
    &'life0 self, 
    request: InitPluginRequest
) -> Pin<Box<dyn Future<Output = Result<InitPluginResponse>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
Send an init request to the plugin process
fn compare_contents<'life0, 'async_trait>(
    &'life0 self, 
    request: CompareContentsRequest
) -> Pin<Box<dyn Future<Output = Result<CompareContentsResponse>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
fn compare_contents<'life0, 'async_trait>(
    &'life0 self, 
    request: CompareContentsRequest
) -> Pin<Box<dyn Future<Output = Result<CompareContentsResponse>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
Send a compare contents request to the plugin process
fn configure_interaction<'life0, 'async_trait>(
    &'life0 self, 
    request: ConfigureInteractionRequest
) -> Pin<Box<dyn Future<Output = Result<ConfigureInteractionResponse>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
fn configure_interaction<'life0, 'async_trait>(
    &'life0 self, 
    request: ConfigureInteractionRequest
) -> Pin<Box<dyn Future<Output = Result<ConfigureInteractionResponse>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
Send a configure contents request to the plugin process
fn generate_content<'life0, 'async_trait>(
    &'life0 self, 
    request: GenerateContentRequest
) -> Pin<Box<dyn Future<Output = Result<GenerateContentResponse>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
fn generate_content<'life0, 'async_trait>(
    &'life0 self, 
    request: GenerateContentRequest
) -> Pin<Box<dyn Future<Output = Result<GenerateContentResponse>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
Send a generate content request to the plugin
Auto Trait Implementations
impl RefUnwindSafe for PactPlugin
impl Send for PactPlugin
impl Sync for PactPlugin
impl Unpin for PactPlugin
impl UnwindSafe for PactPlugin
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
