pub struct FrozenInterner<RS: Send + Sync + Clone + BuildHasher> { /* private fields */ }
Expand description
Read-only version of ConcurrentInterner
.
Allows read access from multiple threads without synchronization in exchange for not allowing any writes.
Implementations§
Trait Implementations§
Source§impl<RS: Send + Sync + Clone + BuildHasher> Debug for FrozenInterner<RS>
impl<RS: Send + Sync + Clone + BuildHasher> Debug for FrozenInterner<RS>
Source§impl<RS: Send + Sync + Clone + BuildHasher> From<ConcurrentInterner<RS>> for FrozenInterner<RS>
impl<RS: Send + Sync + Clone + BuildHasher> From<ConcurrentInterner<RS>> for FrozenInterner<RS>
Source§fn from(interner: ConcurrentInterner<RS>) -> FrozenInterner<RS>
fn from(interner: ConcurrentInterner<RS>) -> FrozenInterner<RS>
Identical to ConcurrentInterner::freeze
.
Auto Trait Implementations§
impl<RS> Freeze for FrozenInterner<RS>where
RS: Freeze,
impl<RS> !RefUnwindSafe for FrozenInterner<RS>
impl<RS> Send for FrozenInterner<RS>
impl<RS> Sync for FrozenInterner<RS>
impl<RS> Unpin for FrozenInterner<RS>where
RS: Unpin,
impl<RS> UnwindSafe for FrozenInterner<RS>where
RS: 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