Trait aws_smithy_types::config_bag::Store

source ·
pub trait Store: Sized + Send + Sync + 'static {
    type ReturnedType<'a>: Send + Sync;
    type StoredType: Send + Sync + Debug;

    // Required method
    fn merge_iter(iter: ItemIter<'_, Self>) -> Self::ReturnedType<'_>;
}
Expand description

Trait defining how types can be stored and loaded from the config bag

Required Associated Types§

source

type ReturnedType<'a>: Send + Sync

Denote the returned type when loaded from the config bag

source

type StoredType: Send + Sync + Debug

Denote the stored type when stored into the config bag

Required Methods§

source

fn merge_iter(iter: ItemIter<'_, Self>) -> Self::ReturnedType<'_>

Create a returned type from an iterable of items

Object Safety§

This trait is not object safe.

Implementors§