Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [email protected] oxide-api-prototype $ cargo run
- Compiling oxide-api-prototype v0.1.0 (/Users/dap/oxide/oxide-api-prototype)
- error[E0425]: cannot find value `query_params` in this scope
- --> src/api_server.rs:246:23
- |
- 246 | &server, &query_params).await?;
- | ^^^^^^^^^^^^ not found in this scope
- warning: unused import: `http::header`
- --> src/api_http_util.rs:9:5
- |
- 9 | use http::header;
- | ^^^^^^^^^^^^
- |
- = note: `#[warn(unused_imports)]` on by default
- warning: unused import: `hyper::body::HttpBody`
- --> src/api_http_util.rs:13:5
- |
- 13 | use hyper::body::HttpBody;
- | ^^^^^^^^^^^^^^^^^^^^^
- error: aborting due to previous error
- For more information about this error, try `rustc --explain E0425`.
- error: could not compile `oxide-api-prototype`.
- To learn more, run the command again with --verbose.
- [email protected] oxide-api-prototype $ cargo run
- Compiling oxide-api-prototype v0.1.0 (/Users/dap/oxide/oxide-api-prototype)
- warning: unused import: `http::header`
- --> src/api_http_util.rs:9:5
- |
- 9 | use http::header;
- | ^^^^^^^^^^^^
- |
- = note: `#[warn(unused_imports)]` on by default
- warning: unused import: `hyper::body::HttpBody`
- --> src/api_http_util.rs:13:5
- |
- 13 | use hyper::body::HttpBody;
- | ^^^^^^^^^^^^^^^^^^^^^
- error[E0277]: `dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>>` cannot be sent between threads safely
- --> src/api_server.rs:444:9
- |
- 444 | Box::pin(http_request_handle(Arc::clone(&self.server), req))
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>>` cannot be sent between threads safely
- |
- = help: the trait `std::marker::Send` is not implemented for `dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>>`
- = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique<dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>>>`
- = note: required because it appears within the type `std::boxed::Box<dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>>>`
- = note: required because it appears within the type `std::pin::Pin<std::boxed::Box<dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>>>>`
- = note: required because it appears within the type `for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17> {&'r api_server::ApiServerState, &'s api_http_entrypoints::ListQueryParams, api_server::ApiServerState, &'t0 api_server::ApiServerState, &'t1 std::sync::Arc<(dyn api_model::ApiBackend + 't2)>, std::sync::Arc<(dyn api_model::ApiBackend + 't3)>, (dyn api_model::ApiBackend + 't4), &'t5 (dyn api_model::ApiBackend + 't6), usize, std::option::Option<std::string::String>, &'t7 (dyn api_model::ApiBackend + 't8), &'t9 (dyn api_model::ApiBackend + 't10), std::option::Option<std::string::String>, usize, std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't11)>>, api_error::ApiError>> + std::marker::Send + 't12)>>, std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't13)>>, api_error::ApiError>> + std::marker::Send + 't14)>>, (), std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't15)>>, std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't16)>>, std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't17)>>, impl core::future::future::Future, impl core::future::future::Future, ()}`
- = note: required because it appears within the type `[static generator@src/api_http_entrypoints.rs:69:1: 75:2 server:&api_server::ApiServerState, params:&api_http_entrypoints::ListQueryParams for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17> {&'r api_server::ApiServerState, &'s api_http_entrypoints::ListQueryParams, api_server::ApiServerState, &'t0 api_server::ApiServerState, &'t1 std::sync::Arc<(dyn api_model::ApiBackend + 't2)>, std::sync::Arc<(dyn api_model::ApiBackend + 't3)>, (dyn api_model::ApiBackend + 't4), &'t5 (dyn api_model::ApiBackend + 't6), usize, std::option::Option<std::string::String>, &'t7 (dyn api_model::ApiBackend + 't8), &'t9 (dyn api_model::ApiBackend + 't10), std::option::Option<std::string::String>, usize, std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't11)>>, api_error::ApiError>> + std::marker::Send + 't12)>>, std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't13)>>, api_error::ApiError>> + std::marker::Send + 't14)>>, (), std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't15)>>, std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't16)>>, std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't17)>>, impl core::future::future::Future, impl core::future::future::Future, ()}]`
- = note: required because it appears within the type `std::future::GenFuture<[static generator@src/api_http_entrypoints.rs:69:1: 75:2 server:&api_server::ApiServerState, params:&api_http_entrypoints::ListQueryParams for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17> {&'r api_server::ApiServerState, &'s api_http_entrypoints::ListQueryParams, api_server::ApiServerState, &'t0 api_server::ApiServerState, &'t1 std::sync::Arc<(dyn api_model::ApiBackend + 't2)>, std::sync::Arc<(dyn api_model::ApiBackend + 't3)>, (dyn api_model::ApiBackend + 't4), &'t5 (dyn api_model::ApiBackend + 't6), usize, std::option::Option<std::string::String>, &'t7 (dyn api_model::ApiBackend + 't8), &'t9 (dyn api_model::ApiBackend + 't10), std::option::Option<std::string::String>, usize, std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't11)>>, api_error::ApiError>> + std::marker::Send + 't12)>>, std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't13)>>, api_error::ApiError>> + std::marker::Send + 't14)>>, (), std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't15)>>, std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't16)>>, std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't17)>>, impl core::future::future::Future, impl core::future::future::Future, ()}]>`
- = note: required because it appears within the type `impl core::future::future::Future`
- = note: required because it appears within the type `impl core::future::future::Future`
- = note: required because it appears within the type `for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17, 't18, 't19, 't20, 't21, 't22, 't23, 't24, 't25, 't26, 't27, 't28, 't29, 't30, 't31, 't32, 't33, 't34, 't35, 't36, 't37, 't38, 't39, 't40, 't41, 't42, 't43, 't44, 't45, 't46, 't47, 't48, 't49, 't50, 't51, 't52, 't53, 't54, 't55, 't56, 't57, 't58, 't59, 't60, 't61, 't62, 't63, 't64, 't65, 't66, 't67, 't68> {std::sync::Arc<api_server::ApiServerState>, http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, http::method::Method, http::uri::Uri, std::vec::Vec<&'r str>, bool, bool, &'s mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t0 mut hyper::body::body::Body, &'t1 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t4 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t5 mut hyper::body::body::Body, &'t6 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t9 str, bool, bool, &'t10 str, &'t11 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t12 mut hyper::body::body::Body, &'t13 mut hyper::body::body::Body, api_server::ApiServerState, std::sync::Arc<api_server::ApiServerState>, api_server::ApiServerConfig, usize, impl core::future::future::Future, impl core::future::future::Future, (), bytes::bytes::Bytes, api_model::ApiProjectUpdateParams, std::sync::Arc<api_server::ApiServerState>, &'t16 api_server::ApiServerState, &'t17 std::sync::Arc<api_server::ApiServerState>, &'t18 str, &'t19 str, std::string::String, api_model::ApiProjectUpdateParams, &'t20 api_model::ApiProjectUpdateParams, &'t21 api_model::ApiProjectUpdateParams, impl core::future::future::Future, impl core::future::future::Future, (), &'t26 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t27 mut hyper::body::body::Body, &'t28 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), usize, bool, bool, std::sync::Arc<api_server::ApiServerState>, &'t31 api_server::ApiServerState, &'t32 std::sync::Arc<api_server::ApiServerState>, &'t33 str, &'t34 str, std::string::String, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, std::sync::Arc<api_server::ApiServerState>, &'t37 api_server::ApiServerState, &'t38 std::sync::Arc<api_server::ApiServerState>, &'t39 str, &'t40 str, std::string::String, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t43 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t44 mut hyper::body::body::Body, &'t45 mut hyper::body::body::Body, api_server::ApiServerState, std::sync::Arc<api_server::ApiServerState>, api_server::ApiServerConfig, usize, impl core::future::future::Future, impl core::future::future::Future, (), bytes::bytes::Bytes, api_model::ApiProjectCreateParams, std::sync::Arc<api_server::ApiServerState>, &'t48 api_server::ApiServerState, &'t49 std::sync::Arc<api_server::ApiServerState>, api_model::ApiProjectCreateParams, &'t50 api_model::ApiProjectCreateParams, &'t51 api_model::ApiProjectCreateParams, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t56 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t57 mut hyper::body::body::Body, &'t58 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), usize, api_http_entrypoints::ListQueryParams, std::sync::Arc<api_server::ApiServerState>, &'t61 api_server::ApiServerState, &'t62 std::sync::Arc<api_server::ApiServerState>, api_http_entrypoints::ListQueryParams, &'t63 api_http_entrypoints::ListQueryParams, &'t64 api_http_entrypoints::ListQueryParams, impl core::future::future::Future, impl core::future::future::Future, ()}`
- = note: required because it appears within the type `[static generator@src/api_server.rs:109:1: 256:2 server:std::sync::Arc<api_server::ApiServerState>, __arg1:http::request::Request<hyper::body::body::Body> for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17, 't18, 't19, 't20, 't21, 't22, 't23, 't24, 't25, 't26, 't27, 't28, 't29, 't30, 't31, 't32, 't33, 't34, 't35, 't36, 't37, 't38, 't39, 't40, 't41, 't42, 't43, 't44, 't45, 't46, 't47, 't48, 't49, 't50, 't51, 't52, 't53, 't54, 't55, 't56, 't57, 't58, 't59, 't60, 't61, 't62, 't63, 't64, 't65, 't66, 't67, 't68> {std::sync::Arc<api_server::ApiServerState>, http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, http::method::Method, http::uri::Uri, std::vec::Vec<&'r str>, bool, bool, &'s mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t0 mut hyper::body::body::Body, &'t1 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t4 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t5 mut hyper::body::body::Body, &'t6 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t9 str, bool, bool, &'t10 str, &'t11 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t12 mut hyper::body::body::Body, &'t13 mut hyper::body::body::Body, api_server::ApiServerState, std::sync::Arc<api_server::ApiServerState>, api_server::ApiServerConfig, usize, impl core::future::future::Future, impl core::future::future::Future, (), bytes::bytes::Bytes, api_model::ApiProjectUpdateParams, std::sync::Arc<api_server::ApiServerState>, &'t16 api_server::ApiServerState, &'t17 std::sync::Arc<api_server::ApiServerState>, &'t18 str, &'t19 str, std::string::String, api_model::ApiProjectUpdateParams, &'t20 api_model::ApiProjectUpdateParams, &'t21 api_model::ApiProjectUpdateParams, impl core::future::future::Future, impl core::future::future::Future, (), &'t26 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t27 mut hyper::body::body::Body, &'t28 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), usize, bool, bool, std::sync::Arc<api_server::ApiServerState>, &'t31 api_server::ApiServerState, &'t32 std::sync::Arc<api_server::ApiServerState>, &'t33 str, &'t34 str, std::string::String, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, std::sync::Arc<api_server::ApiServerState>, &'t37 api_server::ApiServerState, &'t38 std::sync::Arc<api_server::ApiServerState>, &'t39 str, &'t40 str, std::string::String, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t43 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t44 mut hyper::body::body::Body, &'t45 mut hyper::body::body::Body, api_server::ApiServerState, std::sync::Arc<api_server::ApiServerState>, api_server::ApiServerConfig, usize, impl core::future::future::Future, impl core::future::future::Future, (), bytes::bytes::Bytes, api_model::ApiProjectCreateParams, std::sync::Arc<api_server::ApiServerState>, &'t48 api_server::ApiServerState, &'t49 std::sync::Arc<api_server::ApiServerState>, api_model::ApiProjectCreateParams, &'t50 api_model::ApiProjectCreateParams, &'t51 api_model::ApiProjectCreateParams, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t56 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t57 mut hyper::body::body::Body, &'t58 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), usize, api_http_entrypoints::ListQueryParams, std::sync::Arc<api_server::ApiServerState>, &'t61 api_server::ApiServerState, &'t62 std::sync::Arc<api_server::ApiServerState>, api_http_entrypoints::ListQueryParams, &'t63 api_http_entrypoints::ListQueryParams, &'t64 api_http_entrypoints::ListQueryParams, impl core::future::future::Future, impl core::future::future::Future, ()}]`
- = note: required because it appears within the type `std::future::GenFuture<[static generator@src/api_server.rs:109:1: 256:2 server:std::sync::Arc<api_server::ApiServerState>, __arg1:http::request::Request<hyper::body::body::Body> for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17, 't18, 't19, 't20, 't21, 't22, 't23, 't24, 't25, 't26, 't27, 't28, 't29, 't30, 't31, 't32, 't33, 't34, 't35, 't36, 't37, 't38, 't39, 't40, 't41, 't42, 't43, 't44, 't45, 't46, 't47, 't48, 't49, 't50, 't51, 't52, 't53, 't54, 't55, 't56, 't57, 't58, 't59, 't60, 't61, 't62, 't63, 't64, 't65, 't66, 't67, 't68> {std::sync::Arc<api_server::ApiServerState>, http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, http::method::Method, http::uri::Uri, std::vec::Vec<&'r str>, bool, bool, &'s mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t0 mut hyper::body::body::Body, &'t1 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t4 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t5 mut hyper::body::body::Body, &'t6 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t9 str, bool, bool, &'t10 str, &'t11 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t12 mut hyper::body::body::Body, &'t13 mut hyper::body::body::Body, api_server::ApiServerState, std::sync::Arc<api_server::ApiServerState>, api_server::ApiServerConfig, usize, impl core::future::future::Future, impl core::future::future::Future, (), bytes::bytes::Bytes, api_model::ApiProjectUpdateParams, std::sync::Arc<api_server::ApiServerState>, &'t16 api_server::ApiServerState, &'t17 std::sync::Arc<api_server::ApiServerState>, &'t18 str, &'t19 str, std::string::String, api_model::ApiProjectUpdateParams, &'t20 api_model::ApiProjectUpdateParams, &'t21 api_model::ApiProjectUpdateParams, impl core::future::future::Future, impl core::future::future::Future, (), &'t26 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t27 mut hyper::body::body::Body, &'t28 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), usize, bool, bool, std::sync::Arc<api_server::ApiServerState>, &'t31 api_server::ApiServerState, &'t32 std::sync::Arc<api_server::ApiServerState>, &'t33 str, &'t34 str, std::string::String, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, std::sync::Arc<api_server::ApiServerState>, &'t37 api_server::ApiServerState, &'t38 std::sync::Arc<api_server::ApiServerState>, &'t39 str, &'t40 str, std::string::String, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t43 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t44 mut hyper::body::body::Body, &'t45 mut hyper::body::body::Body, api_server::ApiServerState, std::sync::Arc<api_server::ApiServerState>, api_server::ApiServerConfig, usize, impl core::future::future::Future, impl core::future::future::Future, (), bytes::bytes::Bytes, api_model::ApiProjectCreateParams, std::sync::Arc<api_server::ApiServerState>, &'t48 api_server::ApiServerState, &'t49 std::sync::Arc<api_server::ApiServerState>, api_model::ApiProjectCreateParams, &'t50 api_model::ApiProjectCreateParams, &'t51 api_model::ApiProjectCreateParams, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t56 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t57 mut hyper::body::body::Body, &'t58 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), usize, api_http_entrypoints::ListQueryParams, std::sync::Arc<api_server::ApiServerState>, &'t61 api_server::ApiServerState, &'t62 std::sync::Arc<api_server::ApiServerState>, api_http_entrypoints::ListQueryParams, &'t63 api_http_entrypoints::ListQueryParams, &'t64 api_http_entrypoints::ListQueryParams, impl core::future::future::Future, impl core::future::future::Future, ()}]>`
- = note: required because it appears within the type `impl core::future::future::Future`
- = note: required because it appears within the type `impl core::future::future::Future`
- = note: required for the cast to the object type `dyn core::future::future::Future<Output = std::result::Result<http::response::Response<hyper::body::body::Body>, std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>>> + std::marker::Send`
- error: aborting due to previous error
- For more information about this error, try `rustc --explain E0277`.
- error: could not compile `oxide-api-prototype`.
- To learn more, run the command again with --verbose.
Advertisement
Add Comment
Please, Sign In to add comment