Skip to main content

PageCommands

Enum PageCommands 

Source
pub enum PageCommands {
Show 49 variants AddScriptToEvaluateOnNewDocument(AddScriptToEvaluateOnNewDocument), BringToFront(BringToFront), CaptureScreenshot(CaptureScreenshot), CaptureSnapshot(CaptureSnapshot), CreateIsolatedWorld(CreateIsolatedWorld), Disable(Disable), Enable(Enable), GetAppManifest(GetAppManifest), GetInstallabilityErrors(GetInstallabilityErrors), GetAppId(GetAppId), GetAdScriptAncestry(GetAdScriptAncestry), GetFrameTree(GetFrameTree), GetLayoutMetrics(GetLayoutMetrics), GetNavigationHistory(GetNavigationHistory), ResetNavigationHistory(ResetNavigationHistory), GetResourceContent(GetResourceContent), GetResourceTree(GetResourceTree), HandleJavaScriptDialog(HandleJavaScriptDialog), Navigate(Navigate), NavigateToHistoryEntry(NavigateToHistoryEntry), PrintToPdf(PrintToPdf), Reload(Reload), RemoveScriptToEvaluateOnNewDocument(RemoveScriptToEvaluateOnNewDocument), ScreencastFrameAck(ScreencastFrameAck), SearchInResource(SearchInResource), SetAdBlockingEnabled(SetAdBlockingEnabled), SetBypassCsp(SetBypassCsp), GetPermissionsPolicyState(GetPermissionsPolicyState), GetOriginTrials(GetOriginTrials), SetFontFamilies(SetFontFamilies), SetFontSizes(SetFontSizes), SetDocumentContent(SetDocumentContent), SetLifecycleEventsEnabled(SetLifecycleEventsEnabled), StartScreencast(StartScreencast), StopLoading(StopLoading), Crash(Crash), Close(Close), SetWebLifecycleState(SetWebLifecycleState), StopScreencast(StopScreencast), ProduceCompilationCache(ProduceCompilationCache), AddCompilationCache(AddCompilationCache), ClearCompilationCache(ClearCompilationCache), SetSpcTransactionMode(SetSpcTransactionMode), SetRphRegistrationMode(SetRphRegistrationMode), GenerateTestReport(GenerateTestReport), WaitForDebugger(WaitForDebugger), SetInterceptFileChooserDialog(SetInterceptFileChooserDialog), SetPrerenderingAllowed(SetPrerenderingAllowed), GetAnnotatedPageContent(GetAnnotatedPageContent),
}

Variants§

§

AddScriptToEvaluateOnNewDocument(AddScriptToEvaluateOnNewDocument)

§

BringToFront(BringToFront)

§

CaptureScreenshot(CaptureScreenshot)

§

CaptureSnapshot(CaptureSnapshot)

§

CreateIsolatedWorld(CreateIsolatedWorld)

§

Disable(Disable)

§

Enable(Enable)

§

GetAppManifest(GetAppManifest)

§

GetInstallabilityErrors(GetInstallabilityErrors)

§

GetAppId(GetAppId)

§

GetAdScriptAncestry(GetAdScriptAncestry)

§

GetFrameTree(GetFrameTree)

§

GetLayoutMetrics(GetLayoutMetrics)

§

GetNavigationHistory(GetNavigationHistory)

§

ResetNavigationHistory(ResetNavigationHistory)

§

GetResourceContent(GetResourceContent)

§

GetResourceTree(GetResourceTree)

§

HandleJavaScriptDialog(HandleJavaScriptDialog)

§

Navigate(Navigate)

§

NavigateToHistoryEntry(NavigateToHistoryEntry)

§

PrintToPdf(PrintToPdf)

§

Reload(Reload)

§

RemoveScriptToEvaluateOnNewDocument(RemoveScriptToEvaluateOnNewDocument)

§

ScreencastFrameAck(ScreencastFrameAck)

§

SearchInResource(SearchInResource)

§

SetAdBlockingEnabled(SetAdBlockingEnabled)

§

SetBypassCsp(SetBypassCsp)

§

GetPermissionsPolicyState(GetPermissionsPolicyState)

§

GetOriginTrials(GetOriginTrials)

§

SetFontFamilies(SetFontFamilies)

§

SetFontSizes(SetFontSizes)

§

SetDocumentContent(SetDocumentContent)

§

SetLifecycleEventsEnabled(SetLifecycleEventsEnabled)

§

StartScreencast(StartScreencast)

§

StopLoading(StopLoading)

§

Crash(Crash)

§

Close(Close)

§

SetWebLifecycleState(SetWebLifecycleState)

§

StopScreencast(StopScreencast)

§

ProduceCompilationCache(ProduceCompilationCache)

§

AddCompilationCache(AddCompilationCache)

§

ClearCompilationCache(ClearCompilationCache)

§

SetSpcTransactionMode(SetSpcTransactionMode)

§

SetRphRegistrationMode(SetRphRegistrationMode)

§

GenerateTestReport(GenerateTestReport)

§

WaitForDebugger(WaitForDebugger)

§

SetInterceptFileChooserDialog(SetInterceptFileChooserDialog)

§

SetPrerenderingAllowed(SetPrerenderingAllowed)

§

GetAnnotatedPageContent(GetAnnotatedPageContent)

Implementations§

Source§

impl PageCommands

Source

pub fn identifier(&self) -> &'static str

Trait Implementations§

Source§

impl Clone for PageCommands

Source§

fn clone(&self) -> PageCommands

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PageCommands

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for PageCommands

Source§

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 From<AddCompilationCache> for PageCommands

Source§

fn from(v: AddCompilationCache) -> Self

Converts to this type from the input type.
Source§

impl From<AddScriptToEvaluateOnNewDocument> for PageCommands

Source§

fn from(v: AddScriptToEvaluateOnNewDocument) -> Self

Converts to this type from the input type.
Source§

impl From<BringToFront> for PageCommands

Source§

fn from(v: BringToFront) -> Self

Converts to this type from the input type.
Source§

impl From<CaptureScreenshot> for PageCommands

Source§

fn from(v: CaptureScreenshot) -> Self

Converts to this type from the input type.
Source§

impl From<CaptureSnapshot> for PageCommands

Source§

fn from(v: CaptureSnapshot) -> Self

Converts to this type from the input type.
Source§

impl From<ClearCompilationCache> for PageCommands

Source§

fn from(v: ClearCompilationCache) -> Self

Converts to this type from the input type.
Source§

impl From<Close> for PageCommands

Source§

fn from(v: Close) -> Self

Converts to this type from the input type.
Source§

impl From<Crash> for PageCommands

Source§

fn from(v: Crash) -> Self

Converts to this type from the input type.
Source§

impl From<CreateIsolatedWorld> for PageCommands

Source§

fn from(v: CreateIsolatedWorld) -> Self

Converts to this type from the input type.
Source§

impl From<Disable> for PageCommands

Source§

fn from(v: Disable) -> Self

Converts to this type from the input type.
Source§

impl From<Enable> for PageCommands

Source§

fn from(v: Enable) -> Self

Converts to this type from the input type.
Source§

impl From<GenerateTestReport> for PageCommands

Source§

fn from(v: GenerateTestReport) -> Self

Converts to this type from the input type.
Source§

impl From<GetAdScriptAncestry> for PageCommands

Source§

fn from(v: GetAdScriptAncestry) -> Self

Converts to this type from the input type.
Source§

impl From<GetAnnotatedPageContent> for PageCommands

Source§

fn from(v: GetAnnotatedPageContent) -> Self

Converts to this type from the input type.
Source§

impl From<GetAppId> for PageCommands

Source§

fn from(v: GetAppId) -> Self

Converts to this type from the input type.
Source§

impl From<GetAppManifest> for PageCommands

Source§

fn from(v: GetAppManifest) -> Self

Converts to this type from the input type.
Source§

impl From<GetFrameTree> for PageCommands

Source§

fn from(v: GetFrameTree) -> Self

Converts to this type from the input type.
Source§

impl From<GetInstallabilityErrors> for PageCommands

Source§

fn from(v: GetInstallabilityErrors) -> Self

Converts to this type from the input type.
Source§

impl From<GetLayoutMetrics> for PageCommands

Source§

fn from(v: GetLayoutMetrics) -> Self

Converts to this type from the input type.
Source§

impl From<GetNavigationHistory> for PageCommands

Source§

fn from(v: GetNavigationHistory) -> Self

Converts to this type from the input type.
Source§

impl From<GetOriginTrials> for PageCommands

Source§

fn from(v: GetOriginTrials) -> Self

Converts to this type from the input type.
Source§

impl From<GetPermissionsPolicyState> for PageCommands

Source§

fn from(v: GetPermissionsPolicyState) -> Self

Converts to this type from the input type.
Source§

impl From<GetResourceContent> for PageCommands

Source§

fn from(v: GetResourceContent) -> Self

Converts to this type from the input type.
Source§

impl From<GetResourceTree> for PageCommands

Source§

fn from(v: GetResourceTree) -> Self

Converts to this type from the input type.
Source§

impl From<HandleJavaScriptDialog> for PageCommands

Source§

fn from(v: HandleJavaScriptDialog) -> Self

Converts to this type from the input type.
Source§

impl From<Navigate> for PageCommands

Source§

fn from(v: Navigate) -> Self

Converts to this type from the input type.
Source§

impl From<NavigateToHistoryEntry> for PageCommands

Source§

fn from(v: NavigateToHistoryEntry) -> Self

Converts to this type from the input type.
Source§

impl From<PageCommands> for BrowserProtocolCommands

Source§

fn from(v: PageCommands) -> Self

Converts to this type from the input type.
Source§

impl From<PageCommands> for Command

Source§

fn from(v: PageCommands) -> Self

Converts to this type from the input type.
Source§

impl From<PrintToPdf> for PageCommands

Source§

fn from(v: PrintToPdf) -> Self

Converts to this type from the input type.
Source§

impl From<ProduceCompilationCache> for PageCommands

Source§

fn from(v: ProduceCompilationCache) -> Self

Converts to this type from the input type.
Source§

impl From<Reload> for PageCommands

Source§

fn from(v: Reload) -> Self

Converts to this type from the input type.
Source§

impl From<RemoveScriptToEvaluateOnNewDocument> for PageCommands

Source§

fn from(v: RemoveScriptToEvaluateOnNewDocument) -> Self

Converts to this type from the input type.
Source§

impl From<ResetNavigationHistory> for PageCommands

Source§

fn from(v: ResetNavigationHistory) -> Self

Converts to this type from the input type.
Source§

impl From<ScreencastFrameAck> for PageCommands

Source§

fn from(v: ScreencastFrameAck) -> Self

Converts to this type from the input type.
Source§

impl From<SearchInResource> for PageCommands

Source§

fn from(v: SearchInResource) -> Self

Converts to this type from the input type.
Source§

impl From<SetAdBlockingEnabled> for PageCommands

Source§

fn from(v: SetAdBlockingEnabled) -> Self

Converts to this type from the input type.
Source§

impl From<SetBypassCsp> for PageCommands

Source§

fn from(v: SetBypassCsp) -> Self

Converts to this type from the input type.
Source§

impl From<SetDocumentContent> for PageCommands

Source§

fn from(v: SetDocumentContent) -> Self

Converts to this type from the input type.
Source§

impl From<SetFontFamilies> for PageCommands

Source§

fn from(v: SetFontFamilies) -> Self

Converts to this type from the input type.
Source§

impl From<SetFontSizes> for PageCommands

Source§

fn from(v: SetFontSizes) -> Self

Converts to this type from the input type.
Source§

impl From<SetInterceptFileChooserDialog> for PageCommands

Source§

fn from(v: SetInterceptFileChooserDialog) -> Self

Converts to this type from the input type.
Source§

impl From<SetLifecycleEventsEnabled> for PageCommands

Source§

fn from(v: SetLifecycleEventsEnabled) -> Self

Converts to this type from the input type.
Source§

impl From<SetPrerenderingAllowed> for PageCommands

Source§

fn from(v: SetPrerenderingAllowed) -> Self

Converts to this type from the input type.
Source§

impl From<SetRphRegistrationMode> for PageCommands

Source§

fn from(v: SetRphRegistrationMode) -> Self

Converts to this type from the input type.
Source§

impl From<SetSpcTransactionMode> for PageCommands

Source§

fn from(v: SetSpcTransactionMode) -> Self

Converts to this type from the input type.
Source§

impl From<SetWebLifecycleState> for PageCommands

Source§

fn from(v: SetWebLifecycleState) -> Self

Converts to this type from the input type.
Source§

impl From<StartScreencast> for PageCommands

Source§

fn from(v: StartScreencast) -> Self

Converts to this type from the input type.
Source§

impl From<StopLoading> for PageCommands

Source§

fn from(v: StopLoading) -> Self

Converts to this type from the input type.
Source§

impl From<StopScreencast> for PageCommands

Source§

fn from(v: StopScreencast) -> Self

Converts to this type from the input type.
Source§

impl From<WaitForDebugger> for PageCommands

Source§

fn from(v: WaitForDebugger) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for PageCommands

Source§

fn eq(&self, other: &PageCommands) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for PageCommands

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<BrowserProtocolCommands> for PageCommands

Source§

type Error = BrowserProtocolCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <PageCommands as TryFrom<BrowserProtocolCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<Command> for PageCommands

Source§

type Error = Command

The type returned in the event of a conversion error.
Source§

fn try_from( e: Command, ) -> Result<Self, <PageCommands as TryFrom<Command>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for AddCompilationCache

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <AddCompilationCache as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for AddScriptToEvaluateOnNewDocument

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <AddScriptToEvaluateOnNewDocument as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for BringToFront

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <BringToFront as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for CaptureScreenshot

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <CaptureScreenshot as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for CaptureSnapshot

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <CaptureSnapshot as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for ClearCompilationCache

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <ClearCompilationCache as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for Close

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <Close as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for Crash

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <Crash as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for CreateIsolatedWorld

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <CreateIsolatedWorld as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for Disable

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <Disable as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for Enable

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <Enable as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for GenerateTestReport

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <GenerateTestReport as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for GetAdScriptAncestry

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <GetAdScriptAncestry as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for GetAnnotatedPageContent

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <GetAnnotatedPageContent as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for GetAppId

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <GetAppId as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for GetAppManifest

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <GetAppManifest as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for GetFrameTree

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <GetFrameTree as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for GetInstallabilityErrors

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <GetInstallabilityErrors as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for GetLayoutMetrics

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <GetLayoutMetrics as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for GetNavigationHistory

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <GetNavigationHistory as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for GetOriginTrials

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <GetOriginTrials as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for GetPermissionsPolicyState

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <GetPermissionsPolicyState as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for GetResourceContent

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <GetResourceContent as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for GetResourceTree

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <GetResourceTree as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for HandleJavaScriptDialog

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <HandleJavaScriptDialog as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for Navigate

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <Navigate as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for NavigateToHistoryEntry

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <NavigateToHistoryEntry as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for PrintToPdf

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <PrintToPdf as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for ProduceCompilationCache

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <ProduceCompilationCache as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for Reload

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <Reload as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for RemoveScriptToEvaluateOnNewDocument

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <RemoveScriptToEvaluateOnNewDocument as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for ResetNavigationHistory

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <ResetNavigationHistory as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for ScreencastFrameAck

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <ScreencastFrameAck as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for SearchInResource

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <SearchInResource as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for SetAdBlockingEnabled

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <SetAdBlockingEnabled as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for SetBypassCsp

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <SetBypassCsp as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for SetDocumentContent

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <SetDocumentContent as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for SetFontFamilies

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <SetFontFamilies as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for SetFontSizes

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <SetFontSizes as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for SetInterceptFileChooserDialog

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <SetInterceptFileChooserDialog as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for SetLifecycleEventsEnabled

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <SetLifecycleEventsEnabled as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for SetPrerenderingAllowed

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <SetPrerenderingAllowed as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for SetRphRegistrationMode

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <SetRphRegistrationMode as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for SetSpcTransactionMode

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <SetSpcTransactionMode as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for SetWebLifecycleState

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <SetWebLifecycleState as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for StartScreencast

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <StartScreencast as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for StopLoading

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <StopLoading as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for StopScreencast

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <StopScreencast as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageCommands> for WaitForDebugger

Source§

type Error = PageCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageCommands, ) -> Result<Self, <WaitForDebugger as TryFrom<PageCommands>>::Error>

Performs the conversion.
Source§

impl StructuralPartialEq for PageCommands

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,