aws_smithy_runtime/client/
sdk_feature.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */

use aws_smithy_types::config_bag::{Storable, StoreAppend};

#[non_exhaustive]
#[derive(Clone, Debug, Eq, PartialEq)]
pub enum SmithySdkFeature {
    Waiter,
    Paginator,
    GzipRequestCompression,
    ProtocolRpcV2Cbor,
    RetryModeStandard,
    RetryModeAdaptive,
    FlexibleChecksumsReqCrc32,
    FlexibleChecksumsReqCrc32c,
    FlexibleChecksumsReqCrc64,
    FlexibleChecksumsReqSha1,
    FlexibleChecksumsReqSha256,
    FlexibleChecksumsReqWhenSupported,
    FlexibleChecksumsReqWhenRequired,
    FlexibleChecksumsResWhenSupported,
    FlexibleChecksumsResWhenRequired,
}

impl Storable for SmithySdkFeature {
    type Storer = StoreAppend<Self>;
}