Struct concordium_std::VacantEntry
source · [−]pub struct VacantEntry<'a, K, V, S> { /* private fields */ }
Expand description
A view into a vacant entry in a StateMap
. It is
part of the Entry
enum.
Differs from VacantEntryRaw
in that this automatically handles
serialization.
Implementations
sourceimpl<'a, K, V, StateApi> VacantEntry<'a, K, V, StateApi> where
K: Serial,
V: Serial,
StateApi: HasStateApi,
impl<'a, K, V, StateApi> VacantEntry<'a, K, V, StateApi> where
K: Serial,
V: Serial,
StateApi: HasStateApi,
Auto Trait Implementations
impl<'a, K, V, S> RefUnwindSafe for VacantEntry<'a, K, V, S> where
K: RefUnwindSafe,
S: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V, S> Send for VacantEntry<'a, K, V, S> where
K: Send,
S: Send,
V: Send,
impl<'a, K, V, S> Sync for VacantEntry<'a, K, V, S> where
K: Sync,
S: Sync,
V: Sync,
impl<'a, K, V, S> Unpin for VacantEntry<'a, K, V, S> where
K: Unpin,
S: Unpin,
impl<'a, K, V, S> !UnwindSafe for VacantEntry<'a, K, V, S>
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