pub enum TakeoverArgs {
Mint {
connection: Connection,
},
Open {
takeover_url_secret: String,
},
}Variants§
Mint
Mint a fresh credential from a running host, then open its panel.
Fields
§
connection: ConnectionOpen
Open a panel URL an earlier panel or fetch --takeover already
minted. The credential is in the URL, so no host call is needed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TakeoverArgs
impl RefUnwindSafe for TakeoverArgs
impl Send for TakeoverArgs
impl Sync for TakeoverArgs
impl Unpin for TakeoverArgs
impl UnsafeUnpin for TakeoverArgs
impl UnwindSafe for TakeoverArgs
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