Struct aws_smithy_runtime_api::config_bag::StoreReplace
source · #[non_exhaustive]pub struct StoreReplace<U>(_);Expand description
Store an item in the config bag by replacing the existing value
Trait Implementations§
source§impl<U: Send + Sync + Debug + 'static> Store for StoreReplace<U>
impl<U: Send + Sync + Debug + 'static> Store for StoreReplace<U>
type ReturnedType<'a> = Option<&'a U>
type StoredType = Value<U>
source§fn merge_iter(iter: ItemIter<'_, Self>) -> Self::ReturnedType<'_>
fn merge_iter(iter: ItemIter<'_, Self>) -> Self::ReturnedType<'_>
Create a returned type from an iterable of items
Auto Trait Implementations§
impl<U> RefUnwindSafe for StoreReplace<U>where U: RefUnwindSafe,
impl<U> Send for StoreReplace<U>where U: Send,
impl<U> Sync for StoreReplace<U>where U: Sync,
impl<U> Unpin for StoreReplace<U>where U: Unpin,
impl<U> UnwindSafe for StoreReplace<U>where U: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more