Closed MathiasKoch closed 9 months ago
This aligns the signature of the blocking Dns trait with get_host_by_name, by re-adding the &mut self and nb::Error result type.
&mut self
nb::Error
It used to be this way, but it seems like https://github.com/rust-embedded-community/embedded-nal/pull/93# was a bit too fast on copying over the async api.
Ping @Dirbaio
This aligns the signature of the blocking Dns trait with get_host_by_name, by re-adding the
&mut self
andnb::Error
result type.It used to be this way, but it seems like https://github.com/rust-embedded-community/embedded-nal/pull/93# was a bit too fast on copying over the async api.
Ping @Dirbaio