Struct aws_sdk_dax::Client
source · [−]pub struct Client { /* private fields */ }
Expand description
Client for Amazon DynamoDB Accelerator (DAX)
Client for invoking operations on Amazon DynamoDB Accelerator (DAX). Each operation on Amazon DynamoDB Accelerator (DAX) is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_dax::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_dax::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_dax::Client::from_conf(config);
Implementations
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn create_cluster(&self) -> CreateCluster
pub fn create_cluster(&self) -> CreateCluster
Constructs a fluent builder for the CreateCluster
operation.
- The fluent builder is configurable:
cluster_name(impl Into<String>)
/set_cluster_name(Option<String>)
:The cluster identifier. This parameter is stored as a lowercase string.
Constraints:
-
A name must contain from 1 to 20 alphanumeric characters or hyphens.
-
The first character must be a letter.
-
A name cannot end with a hyphen or contain two consecutive hyphens.
-
node_type(impl Into<String>)
/set_node_type(Option<String>)
:The compute and memory capacity of the nodes in the cluster.
description(impl Into<String>)
/set_description(Option<String>)
:A description of the cluster.
replication_factor(i32)
/set_replication_factor(i32)
:The number of nodes in the DAX cluster. A replication factor of 1 will create a single-node cluster, without any read replicas. For additional fault tolerance, you can create a multiple node cluster with one or more read replicas. To do this, set
ReplicationFactor
to a number between 3 (one primary and two read replicas) and 10 (one primary and nine read replicas).If the AvailabilityZones
parameter is provided, its length must equal theReplicationFactor
.AWS recommends that you have at least two read replicas per cluster.
availability_zones(Vec<String>)
/set_availability_zones(Option<Vec<String>>)
:The Availability Zones (AZs) in which the cluster nodes will reside after the cluster has been created or updated. If provided, the length of this list must equal the
ReplicationFactor
parameter. If you omit this parameter, DAX will spread the nodes across Availability Zones for the highest availability.subnet_group_name(impl Into<String>)
/set_subnet_group_name(Option<String>)
:The name of the subnet group to be used for the replication group.
DAX clusters can only run in an Amazon VPC environment. All of the subnets that you specify in a subnet group must exist in the same VPC.
security_group_ids(Vec<String>)
/set_security_group_ids(Option<Vec<String>>)
:A list of security group IDs to be assigned to each node in the DAX cluster. (Each of the security group ID is system-generated.)
If this parameter is not specified, DAX assigns the default VPC security group to each node.
preferred_maintenance_window(impl Into<String>)
/set_preferred_maintenance_window(Option<String>)
:Specifies the weekly time range during which maintenance on the DAX cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for
ddd
are:-
sun
-
mon
-
tue
-
wed
-
thu
-
fri
-
sat
Example:
sun:05:00-sun:09:00
If you don’t specify a preferred maintenance window when you create or modify a cache cluster, DAX assigns a 60-minute maintenance window on a randomly selected day of the week.
-
notification_topic_arn(impl Into<String>)
/set_notification_topic_arn(Option<String>)
:The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications will be sent.
The Amazon SNS topic owner must be same as the DAX cluster owner.
iam_role_arn(impl Into<String>)
/set_iam_role_arn(Option<String>)
:A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role’s permissions to access DynamoDB on your behalf.
parameter_group_name(impl Into<String>)
/set_parameter_group_name(Option<String>)
:The parameter group to be associated with the DAX cluster.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:A set of tags to associate with the DAX cluster.
sse_specification(SseSpecification)
/set_sse_specification(Option<SseSpecification>)
:Represents the settings used to enable server-side encryption on the cluster.
cluster_endpoint_encryption_type(ClusterEndpointEncryptionType)
/set_cluster_endpoint_encryption_type(Option<ClusterEndpointEncryptionType>)
:The type of encryption the cluster’s endpoint should support. Values are:
-
NONE
for no encryption -
TLS
for Transport Layer Security
-
- On success, responds with
CreateClusterOutput
with field(s):cluster(Option<Cluster>)
:A description of the DAX cluster that you have created.
- On failure, responds with
SdkError<CreateClusterError>
sourcepub fn create_parameter_group(&self) -> CreateParameterGroup
pub fn create_parameter_group(&self) -> CreateParameterGroup
Constructs a fluent builder for the CreateParameterGroup
operation.
- The fluent builder is configurable:
parameter_group_name(impl Into<String>)
/set_parameter_group_name(Option<String>)
:The name of the parameter group to apply to all of the clusters in this replication group.
description(impl Into<String>)
/set_description(Option<String>)
:A description of the parameter group.
- On success, responds with
CreateParameterGroupOutput
with field(s):parameter_group(Option<ParameterGroup>)
:Represents the output of a CreateParameterGroup action.
- On failure, responds with
SdkError<CreateParameterGroupError>
sourcepub fn create_subnet_group(&self) -> CreateSubnetGroup
pub fn create_subnet_group(&self) -> CreateSubnetGroup
Constructs a fluent builder for the CreateSubnetGroup
operation.
- The fluent builder is configurable:
subnet_group_name(impl Into<String>)
/set_subnet_group_name(Option<String>)
:A name for the subnet group. This value is stored as a lowercase string.
description(impl Into<String>)
/set_description(Option<String>)
:A description for the subnet group
subnet_ids(Vec<String>)
/set_subnet_ids(Option<Vec<String>>)
:A list of VPC subnet IDs for the subnet group.
- On success, responds with
CreateSubnetGroupOutput
with field(s):subnet_group(Option<SubnetGroup>)
:Represents the output of a CreateSubnetGroup operation.
- On failure, responds with
SdkError<CreateSubnetGroupError>
sourcepub fn decrease_replication_factor(&self) -> DecreaseReplicationFactor
pub fn decrease_replication_factor(&self) -> DecreaseReplicationFactor
Constructs a fluent builder for the DecreaseReplicationFactor
operation.
- The fluent builder is configurable:
cluster_name(impl Into<String>)
/set_cluster_name(Option<String>)
:The name of the DAX cluster from which you want to remove nodes.
new_replication_factor(i32)
/set_new_replication_factor(i32)
:The new number of nodes for the DAX cluster.
availability_zones(Vec<String>)
/set_availability_zones(Option<Vec<String>>)
:The Availability Zone(s) from which to remove nodes.
node_ids_to_remove(Vec<String>)
/set_node_ids_to_remove(Option<Vec<String>>)
:The unique identifiers of the nodes to be removed from the cluster.
- On success, responds with
DecreaseReplicationFactorOutput
with field(s):cluster(Option<Cluster>)
:A description of the DAX cluster, after you have decreased its replication factor.
- On failure, responds with
SdkError<DecreaseReplicationFactorError>
sourcepub fn delete_cluster(&self) -> DeleteCluster
pub fn delete_cluster(&self) -> DeleteCluster
Constructs a fluent builder for the DeleteCluster
operation.
- The fluent builder is configurable:
cluster_name(impl Into<String>)
/set_cluster_name(Option<String>)
:The name of the cluster to be deleted.
- On success, responds with
DeleteClusterOutput
with field(s):cluster(Option<Cluster>)
:A description of the DAX cluster that is being deleted.
- On failure, responds with
SdkError<DeleteClusterError>
sourcepub fn delete_parameter_group(&self) -> DeleteParameterGroup
pub fn delete_parameter_group(&self) -> DeleteParameterGroup
Constructs a fluent builder for the DeleteParameterGroup
operation.
- The fluent builder is configurable:
parameter_group_name(impl Into<String>)
/set_parameter_group_name(Option<String>)
:The name of the parameter group to delete.
- On success, responds with
DeleteParameterGroupOutput
with field(s):deletion_message(Option<String>)
:A user-specified message for this action (i.e., a reason for deleting the parameter group).
- On failure, responds with
SdkError<DeleteParameterGroupError>
sourcepub fn delete_subnet_group(&self) -> DeleteSubnetGroup
pub fn delete_subnet_group(&self) -> DeleteSubnetGroup
Constructs a fluent builder for the DeleteSubnetGroup
operation.
- The fluent builder is configurable:
subnet_group_name(impl Into<String>)
/set_subnet_group_name(Option<String>)
:The name of the subnet group to delete.
- On success, responds with
DeleteSubnetGroupOutput
with field(s):deletion_message(Option<String>)
:A user-specified message for this action (i.e., a reason for deleting the subnet group).
- On failure, responds with
SdkError<DeleteSubnetGroupError>
sourcepub fn describe_clusters(&self) -> DescribeClusters
pub fn describe_clusters(&self) -> DescribeClusters
Constructs a fluent builder for the DescribeClusters
operation.
- The fluent builder is configurable:
cluster_names(Vec<String>)
/set_cluster_names(Option<Vec<String>>)
:The names of the DAX clusters being described.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved.The value for
MaxResults
must be between 20 and 100.next_token(impl Into<String>)
/set_next_token(Option<String>)
:An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults
.
- On success, responds with
DescribeClustersOutput
with field(s):next_token(Option<String>)
:Provides an identifier to allow retrieval of paginated results.
clusters(Option<Vec<Cluster>>)
:The descriptions of your DAX clusters, in response to a DescribeClusters request.
- On failure, responds with
SdkError<DescribeClustersError>
sourcepub fn describe_default_parameters(&self) -> DescribeDefaultParameters
pub fn describe_default_parameters(&self) -> DescribeDefaultParameters
Constructs a fluent builder for the DescribeDefaultParameters
operation.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved.The value for
MaxResults
must be between 20 and 100.next_token(impl Into<String>)
/set_next_token(Option<String>)
:An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults
.
- On success, responds with
DescribeDefaultParametersOutput
with field(s):next_token(Option<String>)
:Provides an identifier to allow retrieval of paginated results.
parameters(Option<Vec<Parameter>>)
:A list of parameters. Each element in the list represents one parameter.
- On failure, responds with
SdkError<DescribeDefaultParametersError>
sourcepub fn describe_events(&self) -> DescribeEvents
pub fn describe_events(&self) -> DescribeEvents
Constructs a fluent builder for the DescribeEvents
operation.
- The fluent builder is configurable:
source_name(impl Into<String>)
/set_source_name(Option<String>)
:The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.
source_type(SourceType)
/set_source_type(Option<SourceType>)
:The event source to retrieve events for. If no value is specified, all events are returned.
start_time(DateTime)
/set_start_time(Option<DateTime>)
:The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
end_time(DateTime)
/set_end_time(Option<DateTime>)
:The end of the time interval for which to retrieve events, specified in ISO 8601 format.
duration(i32)
/set_duration(Option<i32>)
:The number of minutes’ worth of events to retrieve.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved.The value for
MaxResults
must be between 20 and 100.next_token(impl Into<String>)
/set_next_token(Option<String>)
:An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults
.
- On success, responds with
DescribeEventsOutput
with field(s):next_token(Option<String>)
:Provides an identifier to allow retrieval of paginated results.
events(Option<Vec<Event>>)
:An array of events. Each element in the array represents one event.
- On failure, responds with
SdkError<DescribeEventsError>
sourcepub fn describe_parameter_groups(&self) -> DescribeParameterGroups
pub fn describe_parameter_groups(&self) -> DescribeParameterGroups
Constructs a fluent builder for the DescribeParameterGroups
operation.
- The fluent builder is configurable:
parameter_group_names(Vec<String>)
/set_parameter_group_names(Option<Vec<String>>)
:The names of the parameter groups.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved.The value for
MaxResults
must be between 20 and 100.next_token(impl Into<String>)
/set_next_token(Option<String>)
:An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults
.
- On success, responds with
DescribeParameterGroupsOutput
with field(s):next_token(Option<String>)
:Provides an identifier to allow retrieval of paginated results.
parameter_groups(Option<Vec<ParameterGroup>>)
:An array of parameter groups. Each element in the array represents one parameter group.
- On failure, responds with
SdkError<DescribeParameterGroupsError>
sourcepub fn describe_parameters(&self) -> DescribeParameters
pub fn describe_parameters(&self) -> DescribeParameters
Constructs a fluent builder for the DescribeParameters
operation.
- The fluent builder is configurable:
parameter_group_name(impl Into<String>)
/set_parameter_group_name(Option<String>)
:The name of the parameter group.
source(impl Into<String>)
/set_source(Option<String>)
:How the parameter is defined. For example,
system
denotes a system-defined parameter.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved.The value for
MaxResults
must be between 20 and 100.next_token(impl Into<String>)
/set_next_token(Option<String>)
:An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults
.
- On success, responds with
DescribeParametersOutput
with field(s):next_token(Option<String>)
:Provides an identifier to allow retrieval of paginated results.
parameters(Option<Vec<Parameter>>)
:A list of parameters within a parameter group. Each element in the list represents one parameter.
- On failure, responds with
SdkError<DescribeParametersError>
sourcepub fn describe_subnet_groups(&self) -> DescribeSubnetGroups
pub fn describe_subnet_groups(&self) -> DescribeSubnetGroups
Constructs a fluent builder for the DescribeSubnetGroups
operation.
- The fluent builder is configurable:
subnet_group_names(Vec<String>)
/set_subnet_group_names(Option<Vec<String>>)
:The name of the subnet group.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved.The value for
MaxResults
must be between 20 and 100.next_token(impl Into<String>)
/set_next_token(Option<String>)
:An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults
.
- On success, responds with
DescribeSubnetGroupsOutput
with field(s):next_token(Option<String>)
:Provides an identifier to allow retrieval of paginated results.
subnet_groups(Option<Vec<SubnetGroup>>)
:An array of subnet groups. Each element in the array represents a single subnet group.
- On failure, responds with
SdkError<DescribeSubnetGroupsError>
sourcepub fn increase_replication_factor(&self) -> IncreaseReplicationFactor
pub fn increase_replication_factor(&self) -> IncreaseReplicationFactor
Constructs a fluent builder for the IncreaseReplicationFactor
operation.
- The fluent builder is configurable:
cluster_name(impl Into<String>)
/set_cluster_name(Option<String>)
:The name of the DAX cluster that will receive additional nodes.
new_replication_factor(i32)
/set_new_replication_factor(i32)
:The new number of nodes for the DAX cluster.
availability_zones(Vec<String>)
/set_availability_zones(Option<Vec<String>>)
:The Availability Zones (AZs) in which the cluster nodes will be created. All nodes belonging to the cluster are placed in these Availability Zones. Use this parameter if you want to distribute the nodes across multiple AZs.
- On success, responds with
IncreaseReplicationFactorOutput
with field(s):cluster(Option<Cluster>)
:A description of the DAX cluster. with its new replication factor.
- On failure, responds with
SdkError<IncreaseReplicationFactorError>
Constructs a fluent builder for the ListTags
operation.
- The fluent builder is configurable:
resource_name(impl Into<String>)
/set_resource_name(Option<String>)
:The name of the DAX resource to which the tags belong.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token.
- On success, responds with
ListTagsOutput
with field(s):tags(Option<Vec<Tag>>)
:A list of tags currently associated with the DAX cluster.
next_token(Option<String>)
:If this value is present, there are additional results to be displayed. To retrieve them, call
ListTags
again, withNextToken
set to this value.
- On failure, responds with
SdkError<ListTagsError>
sourcepub fn reboot_node(&self) -> RebootNode
pub fn reboot_node(&self) -> RebootNode
Constructs a fluent builder for the RebootNode
operation.
- The fluent builder is configurable:
cluster_name(impl Into<String>)
/set_cluster_name(Option<String>)
:The name of the DAX cluster containing the node to be rebooted.
node_id(impl Into<String>)
/set_node_id(Option<String>)
:The system-assigned ID of the node to be rebooted.
- On success, responds with
RebootNodeOutput
with field(s):cluster(Option<Cluster>)
:A description of the DAX cluster after a node has been rebooted.
- On failure, responds with
SdkError<RebootNodeError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_name(impl Into<String>)
/set_resource_name(Option<String>)
:The name of the DAX resource to which tags should be added.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The tags to be assigned to the DAX resource.
- On success, responds with
TagResourceOutput
with field(s):tags(Option<Vec<Tag>>)
:The list of tags that are associated with the DAX resource.
- On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_name(impl Into<String>)
/set_resource_name(Option<String>)
:The name of the DAX resource from which the tags should be removed.
tag_keys(Vec<String>)
/set_tag_keys(Option<Vec<String>>)
:A list of tag keys. If the DAX cluster has any tags with these keys, then the tags are removed from the cluster.
- On success, responds with
UntagResourceOutput
with field(s):tags(Option<Vec<Tag>>)
:The tag keys that have been removed from the cluster.
- On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_cluster(&self) -> UpdateCluster
pub fn update_cluster(&self) -> UpdateCluster
Constructs a fluent builder for the UpdateCluster
operation.
- The fluent builder is configurable:
cluster_name(impl Into<String>)
/set_cluster_name(Option<String>)
:The name of the DAX cluster to be modified.
description(impl Into<String>)
/set_description(Option<String>)
:A description of the changes being made to the cluster.
preferred_maintenance_window(impl Into<String>)
/set_preferred_maintenance_window(Option<String>)
:A range of time when maintenance of DAX cluster software will be performed. For example:
sun:01:00-sun:09:00
. Cluster maintenance normally takes less than 30 minutes, and is performed automatically within the maintenance window.notification_topic_arn(impl Into<String>)
/set_notification_topic_arn(Option<String>)
:The Amazon Resource Name (ARN) that identifies the topic.
notification_topic_status(impl Into<String>)
/set_notification_topic_status(Option<String>)
:The current state of the topic. A value of “active” means that notifications will be sent to the topic. A value of “inactive” means that notifications will not be sent to the topic.
parameter_group_name(impl Into<String>)
/set_parameter_group_name(Option<String>)
:The name of a parameter group for this cluster.
security_group_ids(Vec<String>)
/set_security_group_ids(Option<Vec<String>>)
:A list of user-specified security group IDs to be assigned to each node in the DAX cluster. If this parameter is not specified, DAX assigns the default VPC security group to each node.
- On success, responds with
UpdateClusterOutput
with field(s):cluster(Option<Cluster>)
:A description of the DAX cluster, after it has been modified.
- On failure, responds with
SdkError<UpdateClusterError>
sourcepub fn update_parameter_group(&self) -> UpdateParameterGroup
pub fn update_parameter_group(&self) -> UpdateParameterGroup
Constructs a fluent builder for the UpdateParameterGroup
operation.
- The fluent builder is configurable:
parameter_group_name(impl Into<String>)
/set_parameter_group_name(Option<String>)
:The name of the parameter group.
parameter_name_values(Vec<ParameterNameValue>)
/set_parameter_name_values(Option<Vec<ParameterNameValue>>)
:An array of name-value pairs for the parameters in the group. Each element in the array represents a single parameter.
record-ttl-millis
andquery-ttl-millis
are the only supported parameter names. For more details, see Configuring TTL Settings.
- On success, responds with
UpdateParameterGroupOutput
with field(s):parameter_group(Option<ParameterGroup>)
:The parameter group that has been modified.
- On failure, responds with
SdkError<UpdateParameterGroupError>
sourcepub fn update_subnet_group(&self) -> UpdateSubnetGroup
pub fn update_subnet_group(&self) -> UpdateSubnetGroup
Constructs a fluent builder for the UpdateSubnetGroup
operation.
- The fluent builder is configurable:
subnet_group_name(impl Into<String>)
/set_subnet_group_name(Option<String>)
:The name of the subnet group.
description(impl Into<String>)
/set_description(Option<String>)
:A description of the subnet group.
subnet_ids(Vec<String>)
/set_subnet_ids(Option<Vec<String>>)
:A list of subnet IDs in the subnet group.
- On success, responds with
UpdateSubnetGroupOutput
with field(s):subnet_group(Option<SubnetGroup>)
:The subnet group that has been modified.
- On failure, responds with
SdkError<UpdateSubnetGroupError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Converts to this type from the input type.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more