Struct xcb::base::Cookie[][src]

pub struct Cookie<'a, T: Copy + CookieSeq> {
    pub cookie: T,
    pub conn: &'a Connection,
    pub checked: bool,
}
Expand description

wraps a cookie as returned by a request function. Instantiations of Cookie that are not VoidCookie should provide a get_reply method to return a Reply

Fields

cookie: Tconn: &'a Connectionchecked: bool

Implementations

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.