pub struct OnboardingInvite { /* private fields */ }Expand description
A QarOnboardingInvite: a full invite blob, onboarded with crate::OnboardMethod::Invite.
A co-process invite (crate::Session::request_onboarding_invite) or the launch invite
QAROS hands an app it starts. A secret: hand it over a private channel (stdin, a pipe), never
on a command line. A co-process invite names the requesting app on this PC and works for every
start of the co-process while the app’s session lives; onboarding with it fetches a fresh hub
invite from the app on each attempt and retries until it joins.
Implementations§
Source§impl OnboardingInvite
impl OnboardingInvite
Sourcepub fn as_raw(&self) -> *mut QarOnboardingInvite
pub fn as_raw(&self) -> *mut QarOnboardingInvite
The QarOnboardingInvite handle, for the functions only the raw table of
crate::Library::raw_api reaches, such as qar_onboarding_invite_handle_is_valid.
Taking the pointer is safe; using it is unsafe, under the rules of
crate::Session::as_raw for an invite: valid while this OnboardingInvite lives, never
destroyed by the caller (it is destroyed on drop).