File tree 10 files changed +5
-75
lines changed
10 files changed +5
-75
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ workspace = true
19
19
atomic-waker = " 1.1.2"
20
20
bytes = " 1.7"
21
21
n0-future = " 0.1.1"
22
- n0-snafu = { git = " https://github.com/n0-computer/n0-snafu" , branch = " matheus23/clone" }
23
22
nested_enum_utils = " 0.2.0"
24
23
snafu = " 0.8.5"
25
24
time = " 0.3.20"
Original file line number Diff line number Diff line change @@ -601,20 +601,18 @@ type RIBType = i32;
601
601
602
602
#[ common_fields( {
603
603
backtrace: Option <Backtrace >,
604
- #[ snafu( implicit) ]
605
- span_trace: n0_snafu:: SpanTrace ,
606
604
} ) ]
607
605
#[ derive( Debug , Snafu ) ]
608
606
#[ non_exhaustive]
609
607
pub enum RouteError {
610
608
#[ snafu( display( "message mismatch" ) ) ]
611
- MessageMismatch { } ,
609
+ MessageMismatch ,
612
610
#[ snafu( display( "message too short" ) ) ]
613
- MessageTooShort { } ,
611
+ MessageTooShort ,
614
612
#[ snafu( display( "invalid message" ) ) ]
615
- InvalidMessage { } ,
613
+ InvalidMessage ,
616
614
#[ snafu( display( "invalid address" ) ) ]
617
- InvalidAddress { } ,
615
+ InvalidAddress ,
618
616
#[ snafu( display( "invalid rib type {rib_type}" ) ) ]
619
617
InvalidRibType { rib_type : RIBType } ,
620
618
#[ snafu( display( "io error calling '{name}'" ) ) ]
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ use super::DefaultRouteDetails;
13
13
14
14
#[ common_fields( {
15
15
backtrace: Option <Backtrace >,
16
- #[ snafu( implicit) ]
17
- span_trace: n0_snafu:: SpanTrace ,
18
16
} ) ]
19
17
#[ derive( Debug , Snafu ) ]
20
18
#[ non_exhaustive]
Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ struct Win32_IP4RouteTable {
17
17
18
18
#[ common_fields( {
19
19
backtrace: Option <Backtrace >,
20
- #[ snafu( implicit) ]
21
- span_trace: n0_snafu:: SpanTrace ,
22
20
} ) ]
23
21
#[ derive( Debug , Snafu ) ]
24
22
#[ non_exhaustive]
Original file line number Diff line number Diff line change @@ -39,14 +39,12 @@ pub struct Monitor {
39
39
40
40
#[ common_fields( {
41
41
backtrace: Option <Backtrace >,
42
- #[ snafu( implicit) ]
43
- span_trace: n0_snafu:: SpanTrace ,
44
42
} ) ]
45
43
#[ derive( Debug , Snafu ) ]
46
44
#[ non_exhaustive]
47
45
pub enum Error {
48
46
#[ snafu( display( "channel closed" ) ) ]
49
- ChannelClosed { } ,
47
+ ChannelClosed ,
50
48
#[ snafu( display( "actor error" ) ) ]
51
49
Actor { source : actor:: Error } ,
52
50
}
Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ pub enum Error {
22
22
Io {
23
23
source : std:: io:: Error ,
24
24
backtrace : Option < Backtrace > ,
25
- #[ snafu( implicit) ]
26
- span_trace : n0_snafu:: SpanTrace ,
27
25
} ,
28
26
}
29
27
Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ pub enum Error {
39
39
Io {
40
40
source : std:: io:: Error ,
41
41
backtrace : Option < Backtrace > ,
42
- #[ snafu( implicit) ]
43
- span_trace : n0_snafu:: SpanTrace ,
44
42
} ,
45
43
}
46
44
Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ pub(super) struct RouteMonitor {
22
22
23
23
#[ common_fields( {
24
24
backtrace: Option <Backtrace >,
25
- #[ snafu( implicit) ]
26
- span_trace: n0_snafu:: SpanTrace ,
27
25
} ) ]
28
26
#[ derive( Debug , Snafu ) ]
29
27
#[ non_exhaustive]
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ futures-util = "0.3.25"
24
24
igd-next = { version = " 0.15.1" , features = [" aio_tokio" ] }
25
25
iroh-metrics = { version = " 0.32" , default-features = false }
26
26
libc = " 0.2.139"
27
- n0-snafu = { git = " https://github.com/n0-computer/n0-snafu" , branch = " matheus23/clone" }
28
27
nested_enum_utils = " 0.2.0"
29
28
netwatch = { version = " 0.4.0" , path = " ../netwatch" }
30
29
num_enum = " 0.7"
You can’t perform that action at this time.
0 commit comments