pub struct SctraceBuilder<'a> { /* private fields */ }Expand description
Builder for creating an Sctrace instance.
Implementations§
Source§impl<'a> SctraceBuilder<'a>
impl<'a> SctraceBuilder<'a>
Sourcepub fn strace(self, stream: StraceLogStream) -> Self
pub fn strace(self, stream: StraceLogStream) -> Self
Sets the strace log stream for the tracer.
Sourcepub fn reporter(self, reporter: CliReporter) -> Self
pub fn reporter(self, reporter: CliReporter) -> Self
Sets the reporter for the tracer.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SctraceBuilder<'a>
impl<'a> !RefUnwindSafe for SctraceBuilder<'a>
impl<'a> !Send for SctraceBuilder<'a>
impl<'a> !Sync for SctraceBuilder<'a>
impl<'a> Unpin for SctraceBuilder<'a>
impl<'a> UnsafeUnpin for SctraceBuilder<'a>
impl<'a> !UnwindSafe for SctraceBuilder<'a>
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