pub struct SharedEmbeddedVacantEntry<'a> { /* private fields */ }Expand description
Vacant routed entry.
Implementations§
Source§impl<'a> VacantEntry<'a>
impl<'a> VacantEntry<'a>
Sourcepub fn insert(self, value: SharedBytes) -> RefMut<'a>
pub fn insert(self, value: SharedBytes) -> RefMut<'a>
Inserts value and returns a mutable guard for the new entry.
Auto Trait Implementations§
impl<'a> !Freeze for VacantEntry<'a>
impl<'a> !RefUnwindSafe for VacantEntry<'a>
impl<'a> !Send for VacantEntry<'a>
impl<'a> !Sync for VacantEntry<'a>
impl<'a> Unpin for VacantEntry<'a>
impl<'a> UnsafeUnpin for VacantEntry<'a>
impl<'a> !UnwindSafe for VacantEntry<'a>
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