Home
last modified time | relevance | path

Searched refs:MockWriter (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/tracing/tracing-appender/src/
Dnon_blocking.rs335 struct MockWriter { struct
339 impl MockWriter { impl
346 impl std::io::Write for MockWriter { implementation
360 let (mock_writer, rx) = MockWriter::new(1); in backpressure_exerted()
403 let (mock_writer, rx) = MockWriter::new(1); in logs_dropped_if_lossy()
444 let (mock_writer, rx) = MockWriter::new(DEFAULT_BUFFERED_LINES_LIMIT); in multi_threaded_writes()
/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/
Dmod.rs1252 pub(crate) struct MockWriter { struct
1256 impl MockWriter { impl
1273 impl io::Write for MockWriter { implementation
1309 type Writer = MockWriter;
1312 MockWriter::new(self.buf.clone()) in make_writer()
Dwriter.rs1207 use crate::fmt::test::{MockMakeWriter, MockWriter};
1256 let make_writer = move || MockWriter::new(buf2.clone()); in custom_writer_closure()
1272 let writer = MockWriter::new(buf.clone()); in custom_writer_mutex()
Dfmt_layer.rs1185 test::{MockMakeWriter, MockWriter},
1419 type Writer = MockWriter; in make_writer_based_on_meta()