pub struct BackForwardCacheNotUsedEvent {
pub loader_id: LoaderId,
pub frame_id: FrameId,
pub not_restored_explanations: Vec<BackForwardCacheNotRestoredExplanation>,
pub not_restored_explanations_tree: Option<BackForwardCacheNotRestoredExplanationTree>,
}Expand description
Fired for failed bfcache history navigations if BackForwardCache feature is enabled. Do not assume any ordering with the Page.frameNavigated event. This event is fired only for main-frame history navigation where the document changes (non-same-document navigations), when bfcache navigation fails.
Experimental: may change without notice.
Payload of the Page.backForwardCacheNotUsed event.
Fields§
§loader_id: LoaderIdThe loader id for the associated navigation.
frame_id: FrameIdThe frame id of the associated frame.
not_restored_explanations: Vec<BackForwardCacheNotRestoredExplanation>Array of reasons why the page could not be cached. This must not be empty.
not_restored_explanations_tree: Option<BackForwardCacheNotRestoredExplanationTree>Tree structure of reasons why the page could not be cached for each frame.
Trait Implementations§
Source§impl Clone for BackForwardCacheNotUsedEvent
impl Clone for BackForwardCacheNotUsedEvent
Source§impl Debug for BackForwardCacheNotUsedEvent
impl Debug for BackForwardCacheNotUsedEvent
Source§impl<'de> Deserialize<'de> for BackForwardCacheNotUsedEvent
impl<'de> Deserialize<'de> for BackForwardCacheNotUsedEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Event for BackForwardCacheNotUsedEvent
impl Event for BackForwardCacheNotUsedEvent
impl StructuralPartialEq for BackForwardCacheNotUsedEvent
Auto Trait Implementations§
impl Forget for BackForwardCacheNotUsedEvent
impl Freeze for BackForwardCacheNotUsedEvent
impl RefUnwindSafe for BackForwardCacheNotUsedEvent
impl Send for BackForwardCacheNotUsedEvent
impl Sync for BackForwardCacheNotUsedEvent
impl Unpin for BackForwardCacheNotUsedEvent
impl UnsafeUnpin for BackForwardCacheNotUsedEvent
impl UnwindSafe for BackForwardCacheNotUsedEvent
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