Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F2203141
Alkane build on Jenkins CD with rocket 0.4.11 [rust-brown]
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
dereckson
Apr 10 2023, 17:48
2023-04-10 17:48:02 (UTC+0)
Size
2 KB
Referenced Files
None
Subscribers
None
Alkane build on Jenkins CD with rocket 0.4.11 [rust-brown]
View Options
error[E0277]: the trait bound `std::string::String: FromDataSimple` is not satisfied
--> src/server/requests.rs:37:5
|
37 | context: String,
| ^^^^^^^^^^^^^^^ the trait `FromDataSimple` is not implemented for `std::string::String`
|
= help: the following other types implement trait `FromData<'a>`:
<Form<T> as FromData<'f>>
<LenientForm<T> as FromData<'f>>
<Result<T, <T as FromData<'a>>::Error> as FromData<'a>>
<rocket::Data as FromData<'f>>
<rocket_contrib::json::Json<T> as FromData<'a>>
<std::option::Option<T> as FromData<'a>>
= note: required for `std::string::String` to implement `FromData<'_>`
error[E0277]: the trait bound `std::string::String: FromDataSimple` is not satisfied
--> src/server/requests.rs:62:5
|
62 | context: String,
| ^^^^^^^^^^^^^^^ the trait `FromDataSimple` is not implemented for `std::string::String`
|
= help: the following other types implement trait `FromData<'a>`:
<Form<T> as FromData<'f>>
<LenientForm<T> as FromData<'f>>
<Result<T, <T as FromData<'a>>::Error> as FromData<'a>>
<rocket::Data as FromData<'f>>
<rocket_contrib::json::Json<T> as FromData<'a>>
<std::option::Option<T> as FromData<'a>>
= note: required for `std::string::String` to implement `FromData<'_>`
error[E0277]: the trait bound `std::string::String: FromDataSimple` is not satisfied
--> src/server/requests.rs:87:5
|
87 | context: String,
| ^^^^^^^^^^^^^^^ the trait `FromDataSimple` is not implemented for `std::string::String`
|
= help: the following other types implement trait `FromData<'a>`:
<Form<T> as FromData<'f>>
<LenientForm<T> as FromData<'f>>
<Result<T, <T as FromData<'a>>::Error> as FromData<'a>>
<rocket::Data as FromData<'f>>
<rocket_contrib::json::Json<T> as FromData<'a>>
<std::option::Option<T> as FromData<'a>>
= note: required for `std::string::String` to implement `FromData<'_>`
For more information about this error, try `rustc --explain E0277`.
error: could not compile `alkane` (bin "alkane") due to 3 previous errors
make: *** [Makefile:34: target/release/alkane] Error 101
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1380228
Default Alt Text
Alkane build on Jenkins CD with rocket 0.4.11 [rust-brown] (2 KB)
Attached To
Mode
P324 Alkane build on Jenkins CD with rocket 0.4.11 [rust-brown]
Attached
Detach File
Event Timeline
Log In to Comment