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
In some code I am working through, I found the reference "reqwest::StatusCode::NotFound" which the compiler cannot find. I cannot find the definition of StatusCode in reqwest at all! Is there some hidden way to define such an item? I expect it's an enum?
I read the issue #122 but still have no clue where to look for the definition of reqwest::StatusCode.
Kind regards, Guus Bonnema, just starting rust.
The text was updated successfully, but these errors were encountered:
This is really stupid: I found it in the docs. I finally found out how to open the docs and found the items listed in StatusCode. Still, I would really like to look at the code defining it, if I could find it .....
EDIT: Ofcourse the docs have a pointer to the code, I should have known, sorry to have bothered you. I will check the docs more ferociously in future. ..... xD
In some code I am working through, I found the reference "reqwest::StatusCode::NotFound" which the compiler cannot find. I cannot find the definition of StatusCode in reqwest at all! Is there some hidden way to define such an item? I expect it's an enum?
I read the issue #122 but still have no clue where to look for the definition of
reqwest::StatusCode
.Kind regards, Guus Bonnema, just starting rust.
The text was updated successfully, but these errors were encountered: