rust-iptables icon indicating copy to clipboard operation
rust-iptables copied to clipboard

Use explicit error instead of Box<dyn Error>

Open DanielLiu-326 opened this issue 2 years ago • 0 comments

I was called methods in a function like:

fn foo()->Result<(), Box<dyn Error+Send+Sync>>

So use explicit error instead of Box<dyn Error> so that developers can throw out.

DanielLiu-326 avatar Dec 15 '21 03:12 DanielLiu-326