Coverage Report

Created: 2025-05-07 06:59

/rust/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.10.1/src/fmt/mod.rs
Line
Count
Source (jump to first uncovered line)
1
macro_rules! fmt_impl {
2
    ($tr:ident, $ty:ty) => {
3
        impl $tr for $ty {
4
0
            fn fmt(&self, f: &mut Formatter<'_>) -> Result {
5
0
                $tr::fmt(&BytesRef(self.as_ref()), f)
6
0
            }
Unexecuted instantiation: <bytes::bytes::Bytes as core::fmt::Debug>::fmt
Unexecuted instantiation: <bytes::bytes_mut::BytesMut as core::fmt::Debug>::fmt
Unexecuted instantiation: <bytes::bytes::Bytes as core::fmt::LowerHex>::fmt
Unexecuted instantiation: <bytes::bytes_mut::BytesMut as core::fmt::LowerHex>::fmt
Unexecuted instantiation: <bytes::bytes::Bytes as core::fmt::UpperHex>::fmt
Unexecuted instantiation: <bytes::bytes_mut::BytesMut as core::fmt::UpperHex>::fmt
7
        }
8
    };
9
}
10
11
mod debug;
12
mod hex;
13
14
/// `BytesRef` is not a part of public API of bytes crate.
15
struct BytesRef<'a>(&'a [u8]);