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
If I now misuse a value of this type, I get an error like this:
error[E0277]: the trait bound `smoltcp::wire::Packet<&[u8]>: std::fmt::Display` is not satisfied
--> examples/smoltcpdump.rs:22:28
|
22 | println!("{}", packet);
| ^^^^^^ the trait `std::fmt::Display` is not implemented for `smoltcp::wire::Packet<&[u8]>`
|
= note: `smoltcp::wire::Packet<&[u8]>` cannot be formatted with the default formatter; try using `:?` instead if you are using a format string
= note: required by `std::fmt::Display::fmt`
which of course does not refer to a path that exists.
The text was updated successfully, but these errors were encountered:
E.g. let's say in
src/wire/mod.rs
I have:If I now misuse a value of this type, I get an error like this:
which of course does not refer to a path that exists.
The text was updated successfully, but these errors were encountered: