pub struct TestEnvBuilder { /* private fields */ }Expand description
测试环境构建器
Implementations§
Source§impl TestEnvBuilder
impl TestEnvBuilder
Sourcepub fn with_logging(self, enable: bool) -> Self
pub fn with_logging(self, enable: bool) -> Self
启用日志
Sourcepub fn with_tracing(self, enable: bool) -> Self
pub fn with_tracing(self, enable: bool) -> Self
启用追踪
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestEnvBuilder
impl RefUnwindSafe for TestEnvBuilder
impl Send for TestEnvBuilder
impl Sync for TestEnvBuilder
impl Unpin for TestEnvBuilder
impl UnsafeUnpin for TestEnvBuilder
impl UnwindSafe for TestEnvBuilder
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