/// Creates the instance of the test helper and connects to shortcut manager service.
Creates the instance of the test helper and connects to shortcut manager service.
Creates the instance of the test helper and connects to shortcut manager service .
pub async fn new() -> Result<Self, Error> {
        START.call_once(|| {
            fuchsia_syslog::init_with_tags(&["shortcut"])
                .expect("shortcut syslog init should not fail");
        });
        let manager = connect_to_protocol::<ui_shortcut::ManagerMarker>()
            .context("Failed to connect to Shortcut manager service")?;
        Ok(Self { manager })
    }
pub async fn new ( ) -> Result < Self , Error > { START . call_once ( | | { fuchsia_syslog :: init_with_tags ( & [ " " ] ) . expect ( " " ) ; } ) ; let manager = connect_to_protocol :: < ui_shortcut :: ManagerMarker > ( ) . context ( " " ) ? ; Ok ( Self { manager } ) }
Creates the instance of the test helper and connects to shortcut manager service.
Creates the instance of the test helper and connects to shortcut manager service .