pub enum Scope {
Local,
Global,
}Expand description
Scope is used in the insertion method to determine the scope to insert at.
Variants§
Local
Insertions in the local scope are rolled back at the end of the current group.
Global
Insertions in the global scope erase any other insertions for the same key, and persist beyond the end of the current groups.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
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