Skip to main content

GithubWorkflowDispatchHttpClientFactory

Trait GithubWorkflowDispatchHttpClientFactory 

Source
pub trait GithubWorkflowDispatchHttpClientFactory: Send {
    // Required method
    fn create(
        self: Box<Self>,
    ) -> Result<Box<dyn GithubWorkflowDispatchHttpClient + Send>, GhExecutionError>;
}
Expand description

Lazy factory detached from the provider’s metadata-transport lock.

Required Methods§

Source

fn create( self: Box<Self>, ) -> Result<Box<dyn GithubWorkflowDispatchHttpClient + Send>, GhExecutionError>

Consume the factory and acquire one credential-owning direct HTTPS client.

§Errors

Returns only redacted authentication or bounded process failures.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§