span.rs
SHA-256769690c93c2766a7a3ba683c59c41ccbd24e183d14e8151f028960785918e636
Malecule∅
Evidence
1#![allow(missing_docs)]
2use super::{field, metadata, Parent};
3use std::fmt;
4
5/// A mock span.
6///
7/// This is intended for use with the mock subscriber API in the
8/// `subscriber` module.
9#[derive(Clone, Debug, Default, Eq, Partial …
101:28… (actual, format_args!("span {}", self));
102 assert!(actual.is_span(), "expected a span but got {:?}", actual);
103 }
104}
105
106impl fmt::Display for MockS …