crypto: Skip the coverage for debug implementations.

master
Damir Jelić 2020-04-15 18:22:04 +02:00
parent aeb93e19e2
commit 14f25bf66a
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,7 @@ pub struct Account {
shared: Arc<AtomicBool>,
}
#[cfg_attr(tarpaulin, skip)]
impl fmt::Debug for Account {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Account")
@ -241,6 +242,7 @@ pub struct Session {
pub(crate) last_use_time: Arc<Instant>,
}
#[cfg_attr(tarpaulin, skip)]
impl fmt::Debug for Session {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Session")
@ -489,6 +491,7 @@ impl InboundGroupSession {
}
}
#[cfg_attr(tarpaulin, skip)]
impl fmt::Debug for InboundGroupSession {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("InboundGroupSession")
@ -597,6 +600,7 @@ impl OutboundGroupSession {
}
}
#[cfg_attr(tarpaulin, skip)]
impl std::fmt::Debug for OutboundGroupSession {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("OutboundGroupSession")