You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Currently, the build fails at this point:
widmann/src/libwidmann/server.rs
Line 44 in 5b0dce4
With the following error:
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
:https://github.com/chris-morgan/rust-http/blob/4bdf093d99e174cf8ce8035d04c39c7f81055cbb/src/libhttp/server/response.rs#L107
The text was updated successfully, but these errors were encountered: