pub struct DefaultTls;Trait Implementations§
Source§impl Clone for DefaultTls
impl Clone for DefaultTls
Source§fn clone(&self) -> DefaultTls
fn clone(&self) -> DefaultTls
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl TlsProvider for DefaultTls
impl TlsProvider for DefaultTls
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
Source§fn with_l1_filter(&self, f: &mut dyn FnMut(&mut ([u8; 4096], usize)))
fn with_l1_filter(&self, f: &mut dyn FnMut(&mut ([u8; 4096], usize)))
Access the thread-local L1 Probation Filter. Read more
Source§fn with_last_flush_tick(&self, f: &mut dyn FnMut(&mut u64))
fn with_last_flush_tick(&self, f: &mut dyn FnMut(&mut u64))
Access the thread-local Last Flush Tick. Read more
Source§fn with_warmup_state(&self, f: &mut dyn FnMut(&mut u8))
fn with_warmup_state(&self, f: &mut dyn FnMut(&mut u8))
Access the thread-local Intelligent Warmup state (0-255).
Used for dynamic T1 direct-routing during cold starts.
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