pub unsafe trait CookieWithReplyChecked: CookieChecked {
type Reply: Reply;
}Expand description
A trait for checked cookies of requests that send a reply.
§Safety
Cookies implementing this trait acknowledge that their error is checked when the reply is fetched from the server. This is the default cookie type for requests with reply.
See also Connection::send_request, Connection::wait_for_reply
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.