pub struct InstallReturns {}Expand description
Installs the given manifest identity, optionally using the given installUrlOrBundleUrl
IWA-specific install description: manifestId corresponds to isolated-app:// + web_package::SignedWebBundleId
File installation mode: The installUrlOrBundleUrl can be either file:// or http(s):// pointing to a signed web bundle (.swbn). In this case SignedWebBundleId must correspond to The .swbn file’s signing key.
Dev proxy installation mode: installUrlOrBundleUrl must be http(s):// that serves dev mode IWA. web_package::SignedWebBundleId must be of type dev proxy.
The advantage of dev proxy mode is that all changes to IWA automatically will be reflected in the running app without reinstallation.
To generate bundle id for proxy mode:
- Generate 32 random bytes.
- Add a specific suffix 0x00 at the end.
- Encode the entire sequence using Base32 without padding.
If Chrome is not in IWA dev mode, the installation will fail, regardless of the state of the allowlist. install
Trait Implementations§
Source§impl Clone for InstallReturns
impl Clone for InstallReturns
Source§fn clone(&self) -> InstallReturns
fn clone(&self) -> InstallReturns
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InstallReturns
impl Debug for InstallReturns
Source§impl Default for InstallReturns
impl Default for InstallReturns
Source§fn default() -> InstallReturns
fn default() -> InstallReturns
Source§impl<'de> Deserialize<'de> for InstallReturns
impl<'de> Deserialize<'de> for InstallReturns
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InstallReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InstallReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for InstallReturns
impl PartialEq for InstallReturns
Source§impl Serialize for InstallReturns
impl Serialize for InstallReturns
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for InstallReturns
Auto Trait Implementations§
impl Freeze for InstallReturns
impl RefUnwindSafe for InstallReturns
impl Send for InstallReturns
impl Sync for InstallReturns
impl Unpin for InstallReturns
impl UnwindSafe for InstallReturns
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)