pub struct Client { /* private fields */ }
Expand description

Client for AWS Device Farm

Client for invoking operations on AWS Device Farm. Each operation on AWS Device Farm is a method on this this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.

Constructing a Client

A Config is required to construct a client. For most use cases, the aws-config crate should be used to automatically resolve this config using aws_config::load_from_env(), since this will resolve an SdkConfig which can be shared across multiple different AWS SDK clients. This config resolution process can be customized by calling aws_config::from_env() instead, which returns a ConfigLoader that uses the builder pattern to customize the default config.

In the simplest case, creating a client looks as follows:

let config = aws_config::load_from_env().await;
let client = aws_sdk_devicefarm::Client::new(&config);

Occasionally, SDKs may have additional service-specific that can be set on the Config that is absent from SdkConfig, or slightly different settings for a specific client may be desired. The Config struct implements From<&SdkConfig>, so setting these specific settings can be done as follows:

let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_devicefarm::config::Builder::from(&sdk_config)
    .some_service_specific_setting("value")
    .build();

See the aws-config docs and Config for more information on customizing configuration.

Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.

Using the Client

A client has a function for every operation that can be performed by the service. For example, the CreateDevicePool operation has a Client::create_device_pool, function which returns a builder for that operation. The fluent builder ultimately has a send() function that returns an async future that returns a result, as illustrated below:

let result = client.create_device_pool()
    .project_arn("example")
    .send()
    .await;

The underlying HTTP requests that get made by this can be modified with the customize_operation function on the fluent builder. See the customize module for more information.

Implementations§

source§

impl Client

source

pub fn create_device_pool(&self) -> CreateDevicePoolFluentBuilder

Constructs a fluent builder for the CreateDevicePool operation.

source§

impl Client

source

pub fn create_instance_profile(&self) -> CreateInstanceProfileFluentBuilder

Constructs a fluent builder for the CreateInstanceProfile operation.

source§

impl Client

source

pub fn create_network_profile(&self) -> CreateNetworkProfileFluentBuilder

Constructs a fluent builder for the CreateNetworkProfile operation.

source§

impl Client

source

pub fn create_project(&self) -> CreateProjectFluentBuilder

Constructs a fluent builder for the CreateProject operation.

source§

impl Client

source

pub fn create_remote_access_session( &self ) -> CreateRemoteAccessSessionFluentBuilder

Constructs a fluent builder for the CreateRemoteAccessSession operation.

source§

impl Client

source

pub fn create_test_grid_project(&self) -> CreateTestGridProjectFluentBuilder

Constructs a fluent builder for the CreateTestGridProject operation.

source§

impl Client

source

pub fn create_test_grid_url(&self) -> CreateTestGridUrlFluentBuilder

Constructs a fluent builder for the CreateTestGridUrl operation.

source§

impl Client

source

pub fn create_upload(&self) -> CreateUploadFluentBuilder

Constructs a fluent builder for the CreateUpload operation.

  • The fluent builder is configurable:
    • project_arn(impl ::std::convert::Into<String>) / set_project_arn(Option<String>):

      The ARN of the project for the upload.

    • name(impl ::std::convert::Into<String>) / set_name(Option<String>):

      The upload’s file name. The name should not contain any forward slashes (/). If you are uploading an iOS app, the file name must end with the .ipa extension. If you are uploading an Android app, the file name must end with the .apk extension. For all others, the file name must end with the .zip file extension.

    • r#type(UploadType) / set_type(Option<UploadType>):

      The upload’s upload type.

      Must be one of the following values:

      • ANDROID_APP

      • IOS_APP

      • WEB_APP

      • EXTERNAL_DATA

      • APPIUM_JAVA_JUNIT_TEST_PACKAGE

      • APPIUM_JAVA_TESTNG_TEST_PACKAGE

      • APPIUM_PYTHON_TEST_PACKAGE

      • APPIUM_NODE_TEST_PACKAGE

      • APPIUM_RUBY_TEST_PACKAGE

      • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE

      • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE

      • APPIUM_WEB_PYTHON_TEST_PACKAGE

      • APPIUM_WEB_NODE_TEST_PACKAGE

      • APPIUM_WEB_RUBY_TEST_PACKAGE

      • CALABASH_TEST_PACKAGE

      • INSTRUMENTATION_TEST_PACKAGE

      • UIAUTOMATION_TEST_PACKAGE

      • UIAUTOMATOR_TEST_PACKAGE

      • XCTEST_TEST_PACKAGE

      • XCTEST_UI_TEST_PACKAGE

      • APPIUM_JAVA_JUNIT_TEST_SPEC

      • APPIUM_JAVA_TESTNG_TEST_SPEC

      • APPIUM_PYTHON_TEST_SPEC

      • APPIUM_NODE_TEST_SPEC

      • APPIUM_RUBY_TEST_SPEC

      • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC

      • APPIUM_WEB_JAVA_TESTNG_TEST_SPEC

      • APPIUM_WEB_PYTHON_TEST_SPEC

      • APPIUM_WEB_NODE_TEST_SPEC

      • APPIUM_WEB_RUBY_TEST_SPEC

      • INSTRUMENTATION_TEST_SPEC

      • XCTEST_UI_TEST_SPEC

      If you call CreateUpload with WEB_APP specified, AWS Device Farm throws an ArgumentException error.

    • content_type(impl ::std::convert::Into<String>) / set_content_type(Option<String>):

      The upload’s content type (for example, application/octet-stream).

  • On success, responds with CreateUploadOutput with field(s):
  • On failure, responds with SdkError<CreateUploadError>
source§

impl Client

source

pub fn create_vpce_configuration(&self) -> CreateVPCEConfigurationFluentBuilder

Constructs a fluent builder for the CreateVPCEConfiguration operation.

source§

impl Client

source

pub fn delete_device_pool(&self) -> DeleteDevicePoolFluentBuilder

Constructs a fluent builder for the DeleteDevicePool operation.

source§

impl Client

source

pub fn delete_instance_profile(&self) -> DeleteInstanceProfileFluentBuilder

Constructs a fluent builder for the DeleteInstanceProfile operation.

source§

impl Client

source

pub fn delete_network_profile(&self) -> DeleteNetworkProfileFluentBuilder

Constructs a fluent builder for the DeleteNetworkProfile operation.

source§

impl Client

source

pub fn delete_project(&self) -> DeleteProjectFluentBuilder

Constructs a fluent builder for the DeleteProject operation.

source§

impl Client

source

pub fn delete_remote_access_session( &self ) -> DeleteRemoteAccessSessionFluentBuilder

Constructs a fluent builder for the DeleteRemoteAccessSession operation.

source§

impl Client

source

pub fn delete_run(&self) -> DeleteRunFluentBuilder

Constructs a fluent builder for the DeleteRun operation.

source§

impl Client

source

pub fn delete_test_grid_project(&self) -> DeleteTestGridProjectFluentBuilder

Constructs a fluent builder for the DeleteTestGridProject operation.

source§

impl Client

source

pub fn delete_upload(&self) -> DeleteUploadFluentBuilder

Constructs a fluent builder for the DeleteUpload operation.

source§

impl Client

source

pub fn delete_vpce_configuration(&self) -> DeleteVPCEConfigurationFluentBuilder

Constructs a fluent builder for the DeleteVPCEConfiguration operation.

source§

impl Client

source

pub fn get_account_settings(&self) -> GetAccountSettingsFluentBuilder

Constructs a fluent builder for the GetAccountSettings operation.

source§

impl Client

source

pub fn get_device(&self) -> GetDeviceFluentBuilder

Constructs a fluent builder for the GetDevice operation.

source§

impl Client

source

pub fn get_device_instance(&self) -> GetDeviceInstanceFluentBuilder

Constructs a fluent builder for the GetDeviceInstance operation.

source§

impl Client

source

pub fn get_device_pool(&self) -> GetDevicePoolFluentBuilder

Constructs a fluent builder for the GetDevicePool operation.

source§

impl Client

source

pub fn get_device_pool_compatibility( &self ) -> GetDevicePoolCompatibilityFluentBuilder

Constructs a fluent builder for the GetDevicePoolCompatibility operation.

source§

impl Client

source

pub fn get_instance_profile(&self) -> GetInstanceProfileFluentBuilder

Constructs a fluent builder for the GetInstanceProfile operation.

source§

impl Client

source

pub fn get_job(&self) -> GetJobFluentBuilder

Constructs a fluent builder for the GetJob operation.

source§

impl Client

source

pub fn get_network_profile(&self) -> GetNetworkProfileFluentBuilder

Constructs a fluent builder for the GetNetworkProfile operation.

source§

impl Client

source

pub fn get_offering_status(&self) -> GetOfferingStatusFluentBuilder

Constructs a fluent builder for the GetOfferingStatus operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn get_project(&self) -> GetProjectFluentBuilder

Constructs a fluent builder for the GetProject operation.

source§

impl Client

source

pub fn get_remote_access_session(&self) -> GetRemoteAccessSessionFluentBuilder

Constructs a fluent builder for the GetRemoteAccessSession operation.

source§

impl Client

source

pub fn get_run(&self) -> GetRunFluentBuilder

Constructs a fluent builder for the GetRun operation.

source§

impl Client

source

pub fn get_suite(&self) -> GetSuiteFluentBuilder

Constructs a fluent builder for the GetSuite operation.

source§

impl Client

source

pub fn get_test(&self) -> GetTestFluentBuilder

Constructs a fluent builder for the GetTest operation.

source§

impl Client

source

pub fn get_test_grid_project(&self) -> GetTestGridProjectFluentBuilder

Constructs a fluent builder for the GetTestGridProject operation.

source§

impl Client

source

pub fn get_test_grid_session(&self) -> GetTestGridSessionFluentBuilder

Constructs a fluent builder for the GetTestGridSession operation.

source§

impl Client

source

pub fn get_upload(&self) -> GetUploadFluentBuilder

Constructs a fluent builder for the GetUpload operation.

source§

impl Client

source

pub fn get_vpce_configuration(&self) -> GetVPCEConfigurationFluentBuilder

Constructs a fluent builder for the GetVPCEConfiguration operation.

source§

impl Client

source

pub fn install_to_remote_access_session( &self ) -> InstallToRemoteAccessSessionFluentBuilder

Constructs a fluent builder for the InstallToRemoteAccessSession operation.

source§

impl Client

source

pub fn list_artifacts(&self) -> ListArtifactsFluentBuilder

Constructs a fluent builder for the ListArtifacts operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_device_instances(&self) -> ListDeviceInstancesFluentBuilder

Constructs a fluent builder for the ListDeviceInstances operation.

source§

impl Client

source

pub fn list_device_pools(&self) -> ListDevicePoolsFluentBuilder

Constructs a fluent builder for the ListDevicePools operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_devices(&self) -> ListDevicesFluentBuilder

Constructs a fluent builder for the ListDevices operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • arn(impl ::std::convert::Into<String>) / set_arn(Option<String>):

      The Amazon Resource Name (ARN) of the project.

    • next_token(impl ::std::convert::Into<String>) / set_next_token(Option<String>):

      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

    • filters(Vec<DeviceFilter>) / set_filters(Option<Vec<DeviceFilter>>):

      Used to select a set of devices. A filter is made up of an attribute, an operator, and one or more values.

      • Attribute: The aspect of a device such as platform or model used as the selection criteria in a device filter.

        Allowed values include:

        • ARN: The Amazon Resource Name (ARN) of the device (for example, arn:aws:devicefarm:us-west-2::device:12345Example).

        • PLATFORM: The device platform. Valid values are ANDROID or IOS.

        • OS_VERSION: The operating system version (for example, 10.3.2).

        • MODEL: The device model (for example, iPad 5th Gen).

        • AVAILABILITY: The current availability of the device. Valid values are AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE.

        • FORM_FACTOR: The device form factor. Valid values are PHONE or TABLET.

        • MANUFACTURER: The device manufacturer (for example, Apple).

        • REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access. Valid values are TRUE or FALSE.

        • REMOTE_DEBUG_ENABLED: Whether the device is enabled for remote debugging. Valid values are TRUE or FALSE. Because remote debugging is no longer supported, this attribute is ignored.

        • INSTANCE_ARN: The Amazon Resource Name (ARN) of the device instance.

        • INSTANCE_LABELS: The label of the device instance.

        • FLEET_TYPE: The fleet type. Valid values are PUBLIC or PRIVATE.

      • Operator: The filter operator.

        • The EQUALS operator is available for every attribute except INSTANCE_LABELS.

        • The CONTAINS operator is available for the INSTANCE_LABELS and MODEL attributes.

        • The IN and NOT_IN operators are available for the ARN, OS_VERSION, MODEL, MANUFACTURER, and INSTANCE_ARN attributes.

        • The LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUALS, and GREATER_THAN_OR_EQUALS operators are also available for the OS_VERSION attribute.

      • Values: An array of one or more filter values.

        • The IN and NOT_IN operators take a values array that has one or more elements.

        • The other operators require an array with a single element.

        • In a request, the AVAILABILITY attribute takes the following values: AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE.

  • On success, responds with ListDevicesOutput with field(s):
    • devices(Option<Vec<Device>>):

      Information about the devices.

    • next_token(Option<String>):

      If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.

  • On failure, responds with SdkError<ListDevicesError>
source§

impl Client

source

pub fn list_instance_profiles(&self) -> ListInstanceProfilesFluentBuilder

Constructs a fluent builder for the ListInstanceProfiles operation.

source§

impl Client

source

pub fn list_jobs(&self) -> ListJobsFluentBuilder

Constructs a fluent builder for the ListJobs operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_network_profiles(&self) -> ListNetworkProfilesFluentBuilder

Constructs a fluent builder for the ListNetworkProfiles operation.

source§

impl Client

source

pub fn list_offering_promotions(&self) -> ListOfferingPromotionsFluentBuilder

Constructs a fluent builder for the ListOfferingPromotions operation.

source§

impl Client

source

pub fn list_offering_transactions( &self ) -> ListOfferingTransactionsFluentBuilder

Constructs a fluent builder for the ListOfferingTransactions operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_offerings(&self) -> ListOfferingsFluentBuilder

Constructs a fluent builder for the ListOfferings operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_projects(&self) -> ListProjectsFluentBuilder

Constructs a fluent builder for the ListProjects operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_remote_access_sessions( &self ) -> ListRemoteAccessSessionsFluentBuilder

Constructs a fluent builder for the ListRemoteAccessSessions operation.

source§

impl Client

source

pub fn list_runs(&self) -> ListRunsFluentBuilder

Constructs a fluent builder for the ListRuns operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_samples(&self) -> ListSamplesFluentBuilder

Constructs a fluent builder for the ListSamples operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_suites(&self) -> ListSuitesFluentBuilder

Constructs a fluent builder for the ListSuites operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_tags_for_resource(&self) -> ListTagsForResourceFluentBuilder

Constructs a fluent builder for the ListTagsForResource operation.

source§

impl Client

source

pub fn list_test_grid_projects(&self) -> ListTestGridProjectsFluentBuilder

Constructs a fluent builder for the ListTestGridProjects operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_test_grid_session_actions( &self ) -> ListTestGridSessionActionsFluentBuilder

Constructs a fluent builder for the ListTestGridSessionActions operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_test_grid_session_artifacts( &self ) -> ListTestGridSessionArtifactsFluentBuilder

Constructs a fluent builder for the ListTestGridSessionArtifacts operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_test_grid_sessions(&self) -> ListTestGridSessionsFluentBuilder

Constructs a fluent builder for the ListTestGridSessions operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_tests(&self) -> ListTestsFluentBuilder

Constructs a fluent builder for the ListTests operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_unique_problems(&self) -> ListUniqueProblemsFluentBuilder

Constructs a fluent builder for the ListUniqueProblems operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_uploads(&self) -> ListUploadsFluentBuilder

Constructs a fluent builder for the ListUploads operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • arn(impl ::std::convert::Into<String>) / set_arn(Option<String>):

      The Amazon Resource Name (ARN) of the project for which you want to list uploads.

    • r#type(UploadType) / set_type(Option<UploadType>):

      The type of upload.

      Must be one of the following values:

      • ANDROID_APP

      • IOS_APP

      • WEB_APP

      • EXTERNAL_DATA

      • APPIUM_JAVA_JUNIT_TEST_PACKAGE

      • APPIUM_JAVA_TESTNG_TEST_PACKAGE

      • APPIUM_PYTHON_TEST_PACKAGE

      • APPIUM_NODE_TEST_PACKAGE

      • APPIUM_RUBY_TEST_PACKAGE

      • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE

      • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE

      • APPIUM_WEB_PYTHON_TEST_PACKAGE

      • APPIUM_WEB_NODE_TEST_PACKAGE

      • APPIUM_WEB_RUBY_TEST_PACKAGE

      • CALABASH_TEST_PACKAGE

      • INSTRUMENTATION_TEST_PACKAGE

      • UIAUTOMATION_TEST_PACKAGE

      • UIAUTOMATOR_TEST_PACKAGE

      • XCTEST_TEST_PACKAGE

      • XCTEST_UI_TEST_PACKAGE

      • APPIUM_JAVA_JUNIT_TEST_SPEC

      • APPIUM_JAVA_TESTNG_TEST_SPEC

      • APPIUM_PYTHON_TEST_SPEC

      • APPIUM_NODE_TEST_SPEC

      • APPIUM_RUBY_TEST_SPEC

      • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC

      • APPIUM_WEB_JAVA_TESTNG_TEST_SPEC

      • APPIUM_WEB_PYTHON_TEST_SPEC

      • APPIUM_WEB_NODE_TEST_SPEC

      • APPIUM_WEB_RUBY_TEST_SPEC

      • INSTRUMENTATION_TEST_SPEC

      • XCTEST_UI_TEST_SPEC

    • next_token(impl ::std::convert::Into<String>) / set_next_token(Option<String>):

      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

  • On success, responds with ListUploadsOutput with field(s):
    • uploads(Option<Vec<Upload>>):

      Information about the uploads.

    • next_token(Option<String>):

      If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.

  • On failure, responds with SdkError<ListUploadsError>
source§

impl Client

source

pub fn list_vpce_configurations(&self) -> ListVPCEConfigurationsFluentBuilder

Constructs a fluent builder for the ListVPCEConfigurations operation.

source§

impl Client

source

pub fn purchase_offering(&self) -> PurchaseOfferingFluentBuilder

Constructs a fluent builder for the PurchaseOffering operation.

source§

impl Client

source

pub fn renew_offering(&self) -> RenewOfferingFluentBuilder

Constructs a fluent builder for the RenewOffering operation.

source§

impl Client

source

pub fn schedule_run(&self) -> ScheduleRunFluentBuilder

Constructs a fluent builder for the ScheduleRun operation.

source§

impl Client

source

pub fn stop_job(&self) -> StopJobFluentBuilder

Constructs a fluent builder for the StopJob operation.

source§

impl Client

source

pub fn stop_remote_access_session(&self) -> StopRemoteAccessSessionFluentBuilder

Constructs a fluent builder for the StopRemoteAccessSession operation.

source§

impl Client

source

pub fn stop_run(&self) -> StopRunFluentBuilder

Constructs a fluent builder for the StopRun operation.

source§

impl Client

source

pub fn tag_resource(&self) -> TagResourceFluentBuilder

Constructs a fluent builder for the TagResource operation.

source§

impl Client

source

pub fn untag_resource(&self) -> UntagResourceFluentBuilder

Constructs a fluent builder for the UntagResource operation.

source§

impl Client

source

pub fn update_device_instance(&self) -> UpdateDeviceInstanceFluentBuilder

Constructs a fluent builder for the UpdateDeviceInstance operation.

source§

impl Client

source

pub fn update_device_pool(&self) -> UpdateDevicePoolFluentBuilder

Constructs a fluent builder for the UpdateDevicePool operation.

source§

impl Client

source

pub fn update_instance_profile(&self) -> UpdateInstanceProfileFluentBuilder

Constructs a fluent builder for the UpdateInstanceProfile operation.

source§

impl Client

source

pub fn update_network_profile(&self) -> UpdateNetworkProfileFluentBuilder

Constructs a fluent builder for the UpdateNetworkProfile operation.

source§

impl Client

source

pub fn update_project(&self) -> UpdateProjectFluentBuilder

Constructs a fluent builder for the UpdateProject operation.

source§

impl Client

source

pub fn update_test_grid_project(&self) -> UpdateTestGridProjectFluentBuilder

Constructs a fluent builder for the UpdateTestGridProject operation.

source§

impl Client

source

pub fn update_upload(&self) -> UpdateUploadFluentBuilder

Constructs a fluent builder for the UpdateUpload operation.

source§

impl Client

source

pub fn update_vpce_configuration(&self) -> UpdateVPCEConfigurationFluentBuilder

Constructs a fluent builder for the UpdateVPCEConfiguration operation.

source§

impl Client

source

pub fn from_conf(conf: Config) -> Self

Creates a new client from the service Config.

Panics
  • This method will panic if the conf is missing an async sleep implementation. If you experience this panic, set the sleep_impl on the Config passed into this function to fix it.
  • This method will panic if the conf is missing an HTTP connector. If you experience this panic, set the http_connector on the Config passed into this function to fix it.
source

pub fn config(&self) -> &Config

Returns the client’s configuration.

source§

impl Client

source

pub fn new(sdk_config: &SdkConfig) -> Self

Creates a new client from an SDK Config.

Panics
  • This method will panic if the sdk_config is missing an async sleep implementation. If you experience this panic, set the sleep_impl on the Config passed into this function to fix it.
  • This method will panic if the sdk_config is missing an HTTP connector. If you experience this panic, set the http_connector on the Config passed into this function to fix it.

Trait Implementations§

source§

impl Clone for Client

source§

fn clone(&self) -> Client

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Client

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl !RefUnwindSafe for Client

§

impl Send for Client

§

impl Sync for Client

§

impl Unpin for Client

§

impl !UnwindSafe for Client

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more