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
the trait `From<CreateImageInfo>` is not implemented for `hyper::body::Bytes`
|
= help: the following implementations were found:
<hyper::body::Bytes as From<&'static [u8]>>
<hyper::body::Bytes as From<&'static str>>
<hyper::body::Bytes as From<Box<[u8]>>>
<hyper::body::Bytes as From<String>>
and 5 others
= note: required because of the requirements on the impl of `Into<hyper::body::Bytes>` for `CreateImageInfo`
note: required by a bound in `hyper::Body::wrap_stream`
The text was updated successfully, but these errors were encountered:
The create_image endpoint deserializes the docker payload into a stream of CreateImageInfo. If you wanted to recreate a new HyperResponse, you would need to serialize each instance back into bytes or text and create a new Hyper::Body out of that. Does that help ?
I write like this:
error:
The text was updated successfully, but these errors were encountered: