Struct taskcluster::ClientBuilder
source · [−]pub struct ClientBuilder { /* private fields */ }
Expand description
ClientBuilder implements the builder pattern for building a Client, allowing optional configuration of features such as authorized scopes and retry.
Implementations
Create a new ClientBuilder. The Taskcluster root URL is required and so must always be specified.
Add credentials to the client
Set the timeout for each HTTP request made by the client. The default is 30 seconds.
Set the authorized scopes for this client. These will be passed along with request, and included in signed URLs, and will act as a limit on the scopes available for the operation beyond those afforded by the credentials themselves.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ClientBuilder
impl Send for ClientBuilder
impl Sync for ClientBuilder
impl Unpin for ClientBuilder
impl UnwindSafe for ClientBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
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