These are chat archives for rust-lang/rust
systemdunit file that the local admin can enable after installing your server.
I have in map function
let se = err.into_inner().se; SendError(se)
and rust give me error:
| 268 | SendError(se) | ^^^^^^^^^ constructor is not visible here due to private fields
SendError is here https://docs.rs/futures/0.1.21/futures/sync/mpsc/struct.SendError.html
SendError. I just want map_err to return less information.
Tin SendError<T>(T) is private and there is no constructor so I can't create instance of this :(
Result<T, E>doesn't have a constraint on
Eeven though (as far as I can tell) it's supposed to implement
Resultthat do not use
Errfor an error.