pub enum ProductLoadState {
Idle,
Resolving,
Fetching,
Verifying,
Ready,
Failed(String),
}Expand description
Tracks where the product is in its loading lifecycle.
The host transitions through these states as it fetches and verifies the product bundle before handing off to the WebView.
Variants§
Idle
No load has been initiated for this product.
Resolving
The host is resolving the .dot name or IPFS CID.
Fetching
The product bundle is being fetched from IPFS / CDN.
Verifying
The bundle has been fetched; integrity verification is in progress.
Ready
Assets are fully verified and available — the WebView may be loaded.
Failed(String)
The load failed; the inner string carries the human-readable reason.
Trait Implementations§
Source§impl Clone for ProductLoadState
impl Clone for ProductLoadState
Source§fn clone(&self) -> ProductLoadState
fn clone(&self) -> ProductLoadState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProductLoadState
impl Debug for ProductLoadState
Source§impl PartialEq for ProductLoadState
impl PartialEq for ProductLoadState
impl Eq for ProductLoadState
impl StructuralPartialEq for ProductLoadState
Auto Trait Implementations§
impl Freeze for ProductLoadState
impl RefUnwindSafe for ProductLoadState
impl Send for ProductLoadState
impl Sync for ProductLoadState
impl Unpin for ProductLoadState
impl UnsafeUnpin for ProductLoadState
impl UnwindSafe for ProductLoadState
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