pub struct ConnectRequest<'a> {
pub control_plane: &'a str,
pub app_id: &'a str,
pub publish_name: &'a str,
pub publish_label: &'a str,
pub local_port: u16,
pub poll_timeout: Duration,
}Expand description
What one app needs to go from a cold machine to a live public address.
Fields§
§control_plane: &'a strControl-plane public URL (where the browser approves).
app_id: &'a strThis app’s stable id (also the first-party id used for auto-approve).
publish_name: &'a strThe app label to publish (e.g. "music").
publish_label: &'a strHuman label shown for the published app.
local_port: u16The app’s local port to route to.
poll_timeout: DurationHow long to wait for the person to finish approving in the browser.
Auto Trait Implementations§
impl<'a> Freeze for ConnectRequest<'a>
impl<'a> RefUnwindSafe for ConnectRequest<'a>
impl<'a> Send for ConnectRequest<'a>
impl<'a> Sync for ConnectRequest<'a>
impl<'a> Unpin for ConnectRequest<'a>
impl<'a> UnsafeUnpin for ConnectRequest<'a>
impl<'a> UnwindSafe for ConnectRequest<'a>
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