x11rb::protocol::sync

Function initialize

Source
pub fn initialize<Conn>(
    conn: &Conn,
    desired_major_version: u8,
    desired_minor_version: u8,
) -> Result<Cookie<'_, Conn, InitializeReply>, ConnectionError>
where Conn: RequestConnection + ?Sized,