#[repr(C)]pub struct QarOnboardLocalAppExt {
pub header: QarStructureHeader,
pub approval_timeout_ms: u32,
}Expand description
@brief Extension: join the QAROS hub installed on this PC as a local source app, with no code.
Chain into QarOnboardInit.header.next as the only mode extension. The hub
identifies the calling process from Windows (its executable, signature and
user), asks the user once (“Allow
- Joins the hub of the QAROS installation this runtime belongs to: the QAR_INSTANCE environment variable when set, else the installation holding the loaded qar-streaming-c, else the installed (HKLM) one. The hub’s qar-runtime-launcher must run as this user in this Windows session, from that installation’s bin/, signed with the QAROS key pinned in the runtime; otherwise QAR_STATUS_ONBOARDING_HUB_NOT_AUTHENTIC.
- Stateless: writes nothing to disk; out_onboarding_id is the zero id. qar_runtime_rejoin and qar_runtime_forget do not apply.
- Not combinable with QarOnboardHostExt (local only) or QarOnboardPeerIdExt (the hub assigns the peer id): QAR_STATUS_ARGUMENT_NOT_SUPPORTED.
- The progress callback reports “Waiting for approval in QAROS hub” while the prompt is open.
- Starts the QAROS hub when it does not run: qaros.exe from the installation’s bin/, else from QarRuntimeInit::runtime_binaries_folder_path. A running hub is left as it is, and the hub outlives the app.
- Windows only; QAR_STATUS_NOT_IMPLEMENTED elsewhere.
Fields§
§header: QarStructureHeader< QAR_STRUCTURE_TYPE_RUNTIME_ONBOARD_LOCAL_APP_EXT
approval_timeout_ms: u32Max wait for the user’s first-time approval; 0 -> hub default (120 s).
Trait Implementations§
Source§impl Clone for QarOnboardLocalAppExt
impl Clone for QarOnboardLocalAppExt
impl Copy for QarOnboardLocalAppExt
Source§impl Debug for QarOnboardLocalAppExt
impl Debug for QarOnboardLocalAppExt
Source§impl PartialEq for QarOnboardLocalAppExt
impl PartialEq for QarOnboardLocalAppExt
impl StructuralPartialEq for QarOnboardLocalAppExt
Auto Trait Implementations§
impl !Send for QarOnboardLocalAppExt
impl !Sync for QarOnboardLocalAppExt
impl Freeze for QarOnboardLocalAppExt
impl RefUnwindSafe for QarOnboardLocalAppExt
impl Unpin for QarOnboardLocalAppExt
impl UnsafeUnpin for QarOnboardLocalAppExt
impl UnwindSafe for QarOnboardLocalAppExt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more