pub struct DefaultTls;Trait Implementations§
Source§impl Clone for DefaultTls
impl Clone for DefaultTls
Source§impl TlsProvider for DefaultTls
Available on crate feature std or crate feature loom or loom only.
impl TlsProvider for DefaultTls
Available on crate feature
std or crate feature loom or loom only.Source§fn get_worker_id(&self) -> Option<usize>
fn get_worker_id(&self) -> Option<usize>
Get the current worker thread ID (0..config.threads). Read more
Source§fn with_hit_buf(&self, f: &mut dyn FnMut(&mut ([usize; 64], usize)))
fn with_hit_buf(&self, f: &mut dyn FnMut(&mut ([usize; 64], usize)))
Access the thread-local Hit Buffer array. Read more
Auto Trait Implementations§
impl Freeze for DefaultTls
impl RefUnwindSafe for DefaultTls
impl Send for DefaultTls
impl Sync for DefaultTls
impl Unpin for DefaultTls
impl UnsafeUnpin for DefaultTls
impl UnwindSafe for DefaultTls
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