File tree Expand file tree Collapse file tree 7 files changed +9
-0
lines changed
matrix-sdk-crypto/src/store Expand file tree Collapse file tree 7 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ impl Session {
68
68
}
69
69
}
70
70
71
+ #[ cfg( not( tarpaulin_include) ) ]
71
72
impl fmt:: Debug for Session {
72
73
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
73
74
f. debug_struct ( "Session" )
Original file line number Diff line number Diff line change @@ -642,6 +642,7 @@ impl Store {
642
642
}
643
643
}
644
644
645
+ #[ cfg( not( tarpaulin_include) ) ]
645
646
impl fmt:: Debug for Store {
646
647
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
647
648
f. debug_struct ( "Store" )
Original file line number Diff line number Diff line change @@ -195,6 +195,7 @@ impl RecoveryKey {
195
195
}
196
196
}
197
197
198
+ #[ cfg( not( tarpaulin_include) ) ]
198
199
impl Debug for RecoveryKey {
199
200
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
200
201
f. debug_struct ( "RecoveryKey" ) . finish ( )
@@ -245,6 +246,7 @@ pub struct CrossSigningKeyExport {
245
246
pub user_signing_key : Option < String > ,
246
247
}
247
248
249
+ #[ cfg( not( tarpaulin_include) ) ]
248
250
impl Debug for CrossSigningKeyExport {
249
251
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
250
252
f. debug_struct ( "CrossSigningKeyExport" )
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ pub struct SqliteCryptoStore {
67
67
session_cache : SessionStore ,
68
68
}
69
69
70
+ #[ cfg( not( tarpaulin_include) ) ]
70
71
impl fmt:: Debug for SqliteCryptoStore {
71
72
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
72
73
if let Some ( path) = & self . path {
Original file line number Diff line number Diff line change @@ -484,6 +484,7 @@ enum BuilderStoreConfig {
484
484
Custom ( StoreConfig ) ,
485
485
}
486
486
487
+ #[ cfg( not( tarpaulin_include) ) ]
487
488
impl fmt:: Debug for BuilderStoreConfig {
488
489
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
489
490
#[ allow( clippy:: infallible_destructuring_match) ]
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ impl Default for SyncSettings {
34
34
}
35
35
}
36
36
37
+ #[ cfg( not( tarpaulin_include) ) ]
37
38
impl fmt:: Debug for SyncSettings {
38
39
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
39
40
let mut s = f. debug_struct ( "SyncSettings" ) ;
Original file line number Diff line number Diff line change @@ -338,6 +338,7 @@ impl From<RemoteEventTimelineItem> for EventTimelineItem {
338
338
}
339
339
}
340
340
341
+ #[ cfg( not( tarpaulin_include) ) ]
341
342
impl fmt:: Debug for RemoteEventTimelineItem {
342
343
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
343
344
f. debug_struct ( "RemoteEventTimelineItem" )
@@ -509,6 +510,7 @@ impl Message {
509
510
}
510
511
}
511
512
513
+ #[ cfg( not( tarpaulin_include) ) ]
512
514
impl fmt:: Debug for Message {
513
515
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
514
516
// since timeline items are logged, don't include all fields here so
You can’t perform that action at this time.
0 commit comments