-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Currently, the build fails at this point:
widmann/src/libwidmann/server.rs
Line 44 in 5b0dce4
| w.write(response.body.as_bytes()); |
With the following error:
rust build -L rust-http/build/ -L build src/libwidmann/lib.rs --out-dir build
src/libwidmann/server.rs:44:6: 44:40 error: type `&mut http::server::response::ResponseWriter<>` does not implement any method in scope named `write`
src/libwidmann/server.rs:44 w.write(response.body.as_bytes());
Thats weird, because this is a direct copy from the libraries examples:
https://github.com/chris-morgan/rust-http/blob/master/src/examples/server/hello_world.rs#L31
And ResponseWriter implements rt::io::Writer:
Metadata
Metadata
Assignees
Labels
No labels