pub struct HubAddress<'a> {
pub hostname: &'a str,
pub port: u16,
}code onboarding is no longer a supported way to join, so it needs no hub address: join as a local app (OnboardMethod::LocalApp), a companion (OnboardMethod::Invite) or through a member hub (OnboardExtensions::remote_app_grant)
Expand description
Where the hub runs, for onboarding with a code against a remote hub (QarOnboardHostExt).
Fields§
§hostname: &'a strcode onboarding is no longer a supported way to join, so it needs no hub address: join as a local app (OnboardMethod::LocalApp), a companion (OnboardMethod::Invite) or through a member hub (OnboardExtensions::remote_app_grant)
Plain host name or IP address, no URL.
port: u16code onboarding is no longer a supported way to join, so it needs no hub address: join as a local app (OnboardMethod::LocalApp), a companion (OnboardMethod::Invite) or through a member hub (OnboardExtensions::remote_app_grant)
The hub’s onboarding port. Required: hubs claim it from a port range,
and 0 fails with crate::StatusCode::ARGUMENT_NOT_SUPPORTED.