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§
Sourcetype Body: GithubJobLogHttpBody
type Body: GithubJobLogHttpBody
Incremental body implementation.
Required Methods§
Sourcefn get(
&mut self,
request: &GithubJobLogHttpRequest,
cancellation: &CancellationToken,
) -> Result<GithubJobLogHttpResponse<Self::Body>, GithubJobLogHttpError>
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".