Skip to main content

open_device

Function open_device 

Source
fn open_device(
    socket_path: &str,
) -> Result<(Connection, EventQueue<DcState>, DcState, DcDevice), String>
Expand description

Connect to socket_path and return (connection, queue, state, device) with the current selection already delivered.