pub struct PrerenderStatusUpdatedEvent {
pub key: PreloadingAttemptKey,
pub pipeline_id: PreloadPipelineId,
pub status: PreloadingStatus,
pub effective_action: Option<SpeculationAction>,
pub prerender_status: Option<PrerenderFinalStatus>,
pub disallowed_mojo_interface: Option<String>,
pub mismatched_headers: Option<Vec<PrerenderMismatchedHeaders>>,
}Expand description
Fired when a prerender attempt is updated.
Payload of the Preload.prerenderStatusUpdated event.
Fields§
§key: PreloadingAttemptKey§pipeline_id: PreloadPipelineId§status: PreloadingStatus§effective_action: Option<SpeculationAction>The action currently performed by this attempt. This differs from
key.action after a prerender-until-script attempt is upgraded in place
to a full prerender.
prerender_status: Option<PrerenderFinalStatus>§disallowed_mojo_interface: Option<String>This is used to give users more information about the name of Mojo interface that is incompatible with prerender and has caused the cancellation of the attempt.
mismatched_headers: Option<Vec<PrerenderMismatchedHeaders>>Trait Implementations§
Source§impl Clone for PrerenderStatusUpdatedEvent
impl Clone for PrerenderStatusUpdatedEvent
Source§impl Debug for PrerenderStatusUpdatedEvent
impl Debug for PrerenderStatusUpdatedEvent
Source§impl<'de> Deserialize<'de> for PrerenderStatusUpdatedEvent
impl<'de> Deserialize<'de> for PrerenderStatusUpdatedEvent
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 PrerenderStatusUpdatedEvent
impl Event for PrerenderStatusUpdatedEvent
impl StructuralPartialEq for PrerenderStatusUpdatedEvent
Auto Trait Implementations§
impl Forget for PrerenderStatusUpdatedEvent
impl Freeze for PrerenderStatusUpdatedEvent
impl RefUnwindSafe for PrerenderStatusUpdatedEvent
impl Send for PrerenderStatusUpdatedEvent
impl Sync for PrerenderStatusUpdatedEvent
impl Unpin for PrerenderStatusUpdatedEvent
impl UnsafeUnpin for PrerenderStatusUpdatedEvent
impl UnwindSafe for PrerenderStatusUpdatedEvent
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