pub struct HotpathGuardBuilder {}Implementations§
Source§impl HotpathGuardBuilder
impl HotpathGuardBuilder
pub fn new(_caller_name: &'static str) -> Self
pub fn percentiles(self, _percentiles: &[u8]) -> Self
pub fn format(self, _format: Format) -> Self
pub fn with_functions_limit(self, _limit: usize) -> Self
pub fn with_channels_limit(self, _limit: usize) -> Self
pub fn with_streams_limit(self, _limit: usize) -> Self
pub fn with_futures_limit(self, _limit: usize) -> Self
pub fn with_threads_limit(self, _limit: usize) -> Self
pub fn output_path(self, _path: impl AsRef<Path>) -> Self
pub fn with_sections(self, _sections: Vec<Section>) -> Self
pub fn before_shutdown(self, _f: impl FnOnce() + Send + 'static) -> Self
pub fn build(self) -> HotpathGuard
pub fn build_with_shutdown(self, _duration: Duration)
Auto Trait Implementations§
impl Freeze for HotpathGuardBuilder
impl RefUnwindSafe for HotpathGuardBuilder
impl Send for HotpathGuardBuilder
impl Sync for HotpathGuardBuilder
impl Unpin for HotpathGuardBuilder
impl UnsafeUnpin for HotpathGuardBuilder
impl UnwindSafe for HotpathGuardBuilder
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