pub struct DefaultTls;Implementations§
Source§impl DefaultTls
impl DefaultTls
pub fn get_worker_id(&self) -> Option<usize>
pub fn with_hit_buf<F, R>(&self, f: F) -> Option<R>
pub fn with_l1_filter<F, R>(&self, f: F) -> Option<R>
pub fn with_last_flush_tick<F, R>(&self, f: F) -> Option<R>
pub fn with_warmup_state<F, R>(&self, f: F) -> R
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 Default for DefaultTls
impl Default for DefaultTls
Source§fn default() -> DefaultTls
fn default() -> DefaultTls
Returns the “default value” for a type. 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