Trait xcb::RequestWithReply
source · 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.
Object Safety§
This trait is not object safe.