pub trait RequestWithReply: Request {
type Reply: Reply;
type Cookie: CookieWithReplyChecked<Reply = Self::Reply>;
type CookieUnchecked: CookieWithReplyUnchecked<Reply = Self::Reply>;
}Expand description
Trait for requests that return a reply.
Required Associated Types§
Sourcetype Cookie: CookieWithReplyChecked<Reply = Self::Reply>
type Cookie: CookieWithReplyChecked<Reply = Self::Reply>
Default cookie type for the request, as returned by Connection::send_request.
Sourcetype CookieUnchecked: CookieWithReplyUnchecked<Reply = Self::Reply>
type CookieUnchecked: CookieWithReplyUnchecked<Reply = Self::Reply>
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
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.