Skip to main content

blocking

Function blocking 

Source
async fn blocking<T: Send + 'static>(
    call: impl FnOnce() -> Result<T, String> + Send + 'static,
) -> Result<T, String>
Expand description

Run a keyring call off the async executor: the Secret Service is reached over D-Bus with a blocking client, and may wait on an unlock prompt.