Skip to main content

GithubJobLogHttpClient

Trait GithubJobLogHttpClient 

Source
pub trait GithubJobLogHttpClient {
    type Body: GithubJobLogHttpBody;

    // Required method
    fn get(
        &mut self,
        request: &GithubJobLogHttpRequest,
        cancellation: &CancellationToken,
    ) -> Result<GithubJobLogHttpResponse<Self::Body>, GithubJobLogHttpError>;
}
Expand description

Injectable HTTPS client for exact GitHub job-log GETs.

Required Associated Types§

Source

type Body: GithubJobLogHttpBody

Incremental body implementation.

Required Methods§

Source

fn get( &mut self, request: &GithubJobLogHttpRequest, cancellation: &CancellationToken, ) -> Result<GithubJobLogHttpResponse<Self::Body>, GithubJobLogHttpError>

Execute one fixed GET without automatically following redirects.

§Errors

Returns a redacted category. Implementations must honor the request’s authorization mode and timeout and must not expose target URLs in errors.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§