Skip to main content

connect

Function connect 

Source
fn connect(
    socket_path: &str,
) -> Result<(Connection, EventQueue<CastState>, CastState), String>
Expand description

Connect to the compositor at socket_path and read its registry, which binds the screencast manager when one is served at the version carrying stream_virtual_output.