Function x11rb::protocol::shm::attach[][src]

pub fn attach<Conn: ?Sized>(
    conn: &Conn,
    shmseg: Seg,
    shmid: u32,
    read_only: bool
) -> Result<VoidCookie<'_, Conn>, ConnectionError> where
    Conn: RequestConnection + ?Sized