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)
GetResourceContent(GetResourceContent)
GetResourceTree(GetResourceTree)
HandleJavaScriptDialog(HandleJavaScriptDialog)
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
impl PageCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for PageCommands
impl Clone for PageCommands
Source§fn clone(&self) -> PageCommands
fn clone(&self) -> PageCommands
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 PageCommands
impl Debug for PageCommands
Source§impl<'de> Deserialize<'de> for PageCommands
impl<'de> Deserialize<'de> for PageCommands
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 From<AddCompilationCache> for PageCommands
impl From<AddCompilationCache> for PageCommands
Source§fn from(v: AddCompilationCache) -> Self
fn from(v: AddCompilationCache) -> Self
Converts to this type from the input type.
Source§impl From<AddScriptToEvaluateOnNewDocument> for PageCommands
impl From<AddScriptToEvaluateOnNewDocument> for PageCommands
Source§fn from(v: AddScriptToEvaluateOnNewDocument) -> Self
fn from(v: AddScriptToEvaluateOnNewDocument) -> Self
Converts to this type from the input type.
Source§impl From<BringToFront> for PageCommands
impl From<BringToFront> for PageCommands
Source§fn from(v: BringToFront) -> Self
fn from(v: BringToFront) -> Self
Converts to this type from the input type.
Source§impl From<CaptureScreenshot> for PageCommands
impl From<CaptureScreenshot> for PageCommands
Source§fn from(v: CaptureScreenshot) -> Self
fn from(v: CaptureScreenshot) -> Self
Converts to this type from the input type.
Source§impl From<CaptureSnapshot> for PageCommands
impl From<CaptureSnapshot> for PageCommands
Source§fn from(v: CaptureSnapshot) -> Self
fn from(v: CaptureSnapshot) -> Self
Converts to this type from the input type.
Source§impl From<ClearCompilationCache> for PageCommands
impl From<ClearCompilationCache> for PageCommands
Source§fn from(v: ClearCompilationCache) -> Self
fn from(v: ClearCompilationCache) -> Self
Converts to this type from the input type.
Source§impl From<Close> for PageCommands
impl From<Close> for PageCommands
Source§impl From<Crash> for PageCommands
impl From<Crash> for PageCommands
Source§impl From<CreateIsolatedWorld> for PageCommands
impl From<CreateIsolatedWorld> for PageCommands
Source§fn from(v: CreateIsolatedWorld) -> Self
fn from(v: CreateIsolatedWorld) -> Self
Converts to this type from the input type.
Source§impl From<Disable> for PageCommands
impl From<Disable> for PageCommands
Source§impl From<Enable> for PageCommands
impl From<Enable> for PageCommands
Source§impl From<GenerateTestReport> for PageCommands
impl From<GenerateTestReport> for PageCommands
Source§fn from(v: GenerateTestReport) -> Self
fn from(v: GenerateTestReport) -> Self
Converts to this type from the input type.
Source§impl From<GetAdScriptAncestry> for PageCommands
impl From<GetAdScriptAncestry> for PageCommands
Source§fn from(v: GetAdScriptAncestry) -> Self
fn from(v: GetAdScriptAncestry) -> Self
Converts to this type from the input type.
Source§impl From<GetAnnotatedPageContent> for PageCommands
impl From<GetAnnotatedPageContent> for PageCommands
Source§fn from(v: GetAnnotatedPageContent) -> Self
fn from(v: GetAnnotatedPageContent) -> Self
Converts to this type from the input type.
Source§impl From<GetAppId> for PageCommands
impl From<GetAppId> for PageCommands
Source§impl From<GetAppManifest> for PageCommands
impl From<GetAppManifest> for PageCommands
Source§fn from(v: GetAppManifest) -> Self
fn from(v: GetAppManifest) -> Self
Converts to this type from the input type.
Source§impl From<GetFrameTree> for PageCommands
impl From<GetFrameTree> for PageCommands
Source§fn from(v: GetFrameTree) -> Self
fn from(v: GetFrameTree) -> Self
Converts to this type from the input type.
Source§impl From<GetInstallabilityErrors> for PageCommands
impl From<GetInstallabilityErrors> for PageCommands
Source§fn from(v: GetInstallabilityErrors) -> Self
fn from(v: GetInstallabilityErrors) -> Self
Converts to this type from the input type.
Source§impl From<GetLayoutMetrics> for PageCommands
impl From<GetLayoutMetrics> for PageCommands
Source§fn from(v: GetLayoutMetrics) -> Self
fn from(v: GetLayoutMetrics) -> Self
Converts to this type from the input type.
Source§fn from(v: GetNavigationHistory) -> Self
fn from(v: GetNavigationHistory) -> Self
Converts to this type from the input type.
Source§impl From<GetOriginTrials> for PageCommands
impl From<GetOriginTrials> for PageCommands
Source§fn from(v: GetOriginTrials) -> Self
fn from(v: GetOriginTrials) -> Self
Converts to this type from the input type.
Source§impl From<GetPermissionsPolicyState> for PageCommands
impl From<GetPermissionsPolicyState> for PageCommands
Source§fn from(v: GetPermissionsPolicyState) -> Self
fn from(v: GetPermissionsPolicyState) -> Self
Converts to this type from the input type.
Source§impl From<GetResourceContent> for PageCommands
impl From<GetResourceContent> for PageCommands
Source§fn from(v: GetResourceContent) -> Self
fn from(v: GetResourceContent) -> Self
Converts to this type from the input type.
Source§impl From<GetResourceTree> for PageCommands
impl From<GetResourceTree> for PageCommands
Source§fn from(v: GetResourceTree) -> Self
fn from(v: GetResourceTree) -> Self
Converts to this type from the input type.
Source§impl From<HandleJavaScriptDialog> for PageCommands
impl From<HandleJavaScriptDialog> for PageCommands
Source§fn from(v: HandleJavaScriptDialog) -> Self
fn from(v: HandleJavaScriptDialog) -> Self
Converts to this type from the input type.
Source§fn from(v: NavigateToHistoryEntry) -> Self
fn from(v: NavigateToHistoryEntry) -> Self
Converts to this type from the input type.
Source§impl From<PageCommands> for BrowserProtocolCommands
impl From<PageCommands> for BrowserProtocolCommands
Source§fn from(v: PageCommands) -> Self
fn from(v: PageCommands) -> Self
Converts to this type from the input type.
Source§impl From<PageCommands> for Command
impl From<PageCommands> for Command
Source§fn from(v: PageCommands) -> Self
fn from(v: PageCommands) -> Self
Converts to this type from the input type.
Source§impl From<PrintToPdf> for PageCommands
impl From<PrintToPdf> for PageCommands
Source§fn from(v: PrintToPdf) -> Self
fn from(v: PrintToPdf) -> Self
Converts to this type from the input type.
Source§impl From<ProduceCompilationCache> for PageCommands
impl From<ProduceCompilationCache> for PageCommands
Source§fn from(v: ProduceCompilationCache) -> Self
fn from(v: ProduceCompilationCache) -> Self
Converts to this type from the input type.
Source§impl From<Reload> for PageCommands
impl From<Reload> for PageCommands
Source§impl From<RemoveScriptToEvaluateOnNewDocument> for PageCommands
impl From<RemoveScriptToEvaluateOnNewDocument> for PageCommands
Source§fn from(v: RemoveScriptToEvaluateOnNewDocument) -> Self
fn from(v: RemoveScriptToEvaluateOnNewDocument) -> Self
Converts to this type from the input type.
Source§fn from(v: ResetNavigationHistory) -> Self
fn from(v: ResetNavigationHistory) -> Self
Converts to this type from the input type.
Source§impl From<ScreencastFrameAck> for PageCommands
impl From<ScreencastFrameAck> for PageCommands
Source§fn from(v: ScreencastFrameAck) -> Self
fn from(v: ScreencastFrameAck) -> Self
Converts to this type from the input type.
Source§impl From<SearchInResource> for PageCommands
impl From<SearchInResource> for PageCommands
Source§fn from(v: SearchInResource) -> Self
fn from(v: SearchInResource) -> Self
Converts to this type from the input type.
Source§impl From<SetAdBlockingEnabled> for PageCommands
impl From<SetAdBlockingEnabled> for PageCommands
Source§fn from(v: SetAdBlockingEnabled) -> Self
fn from(v: SetAdBlockingEnabled) -> Self
Converts to this type from the input type.
Source§impl From<SetBypassCsp> for PageCommands
impl From<SetBypassCsp> for PageCommands
Source§fn from(v: SetBypassCsp) -> Self
fn from(v: SetBypassCsp) -> Self
Converts to this type from the input type.
Source§impl From<SetDocumentContent> for PageCommands
impl From<SetDocumentContent> for PageCommands
Source§fn from(v: SetDocumentContent) -> Self
fn from(v: SetDocumentContent) -> Self
Converts to this type from the input type.
Source§impl From<SetFontFamilies> for PageCommands
impl From<SetFontFamilies> for PageCommands
Source§fn from(v: SetFontFamilies) -> Self
fn from(v: SetFontFamilies) -> Self
Converts to this type from the input type.
Source§impl From<SetFontSizes> for PageCommands
impl From<SetFontSizes> for PageCommands
Source§fn from(v: SetFontSizes) -> Self
fn from(v: SetFontSizes) -> Self
Converts to this type from the input type.
Source§impl From<SetInterceptFileChooserDialog> for PageCommands
impl From<SetInterceptFileChooserDialog> for PageCommands
Source§fn from(v: SetInterceptFileChooserDialog) -> Self
fn from(v: SetInterceptFileChooserDialog) -> Self
Converts to this type from the input type.
Source§impl From<SetLifecycleEventsEnabled> for PageCommands
impl From<SetLifecycleEventsEnabled> for PageCommands
Source§fn from(v: SetLifecycleEventsEnabled) -> Self
fn from(v: SetLifecycleEventsEnabled) -> Self
Converts to this type from the input type.
Source§impl From<SetPrerenderingAllowed> for PageCommands
impl From<SetPrerenderingAllowed> for PageCommands
Source§fn from(v: SetPrerenderingAllowed) -> Self
fn from(v: SetPrerenderingAllowed) -> Self
Converts to this type from the input type.
Source§impl From<SetRphRegistrationMode> for PageCommands
impl From<SetRphRegistrationMode> for PageCommands
Source§fn from(v: SetRphRegistrationMode) -> Self
fn from(v: SetRphRegistrationMode) -> Self
Converts to this type from the input type.
Source§impl From<SetSpcTransactionMode> for PageCommands
impl From<SetSpcTransactionMode> for PageCommands
Source§fn from(v: SetSpcTransactionMode) -> Self
fn from(v: SetSpcTransactionMode) -> Self
Converts to this type from the input type.
Source§impl From<SetWebLifecycleState> for PageCommands
impl From<SetWebLifecycleState> for PageCommands
Source§fn from(v: SetWebLifecycleState) -> Self
fn from(v: SetWebLifecycleState) -> Self
Converts to this type from the input type.
Source§impl From<StartScreencast> for PageCommands
impl From<StartScreencast> for PageCommands
Source§fn from(v: StartScreencast) -> Self
fn from(v: StartScreencast) -> Self
Converts to this type from the input type.
Source§impl From<StopLoading> for PageCommands
impl From<StopLoading> for PageCommands
Source§fn from(v: StopLoading) -> Self
fn from(v: StopLoading) -> Self
Converts to this type from the input type.
Source§impl From<StopScreencast> for PageCommands
impl From<StopScreencast> for PageCommands
Source§fn from(v: StopScreencast) -> Self
fn from(v: StopScreencast) -> Self
Converts to this type from the input type.
Source§impl From<WaitForDebugger> for PageCommands
impl From<WaitForDebugger> for PageCommands
Source§fn from(v: WaitForDebugger) -> Self
fn from(v: WaitForDebugger) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PageCommands
impl PartialEq for PageCommands
Source§impl Serialize for PageCommands
impl Serialize for PageCommands
Source§impl TryFrom<BrowserProtocolCommands> for PageCommands
impl TryFrom<BrowserProtocolCommands> for PageCommands
Source§type Error = BrowserProtocolCommands
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>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <PageCommands as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for PageCommands
impl TryFrom<Command> for PageCommands
Source§impl TryFrom<PageCommands> for AddCompilationCache
impl TryFrom<PageCommands> for AddCompilationCache
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <AddCompilationCache as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for AddScriptToEvaluateOnNewDocument
impl TryFrom<PageCommands> for AddScriptToEvaluateOnNewDocument
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <AddScriptToEvaluateOnNewDocument as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for BringToFront
impl TryFrom<PageCommands> for BringToFront
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <BringToFront as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for CaptureScreenshot
impl TryFrom<PageCommands> for CaptureScreenshot
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <CaptureScreenshot as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for CaptureSnapshot
impl TryFrom<PageCommands> for CaptureSnapshot
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <CaptureSnapshot as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for ClearCompilationCache
impl TryFrom<PageCommands> for ClearCompilationCache
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <ClearCompilationCache as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for Close
impl TryFrom<PageCommands> for Close
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <Close as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for Crash
impl TryFrom<PageCommands> for Crash
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <Crash as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for CreateIsolatedWorld
impl TryFrom<PageCommands> for CreateIsolatedWorld
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <CreateIsolatedWorld as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for Disable
impl TryFrom<PageCommands> for Disable
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <Disable as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for Enable
impl TryFrom<PageCommands> for Enable
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <Enable as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for GenerateTestReport
impl TryFrom<PageCommands> for GenerateTestReport
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <GenerateTestReport as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for GetAdScriptAncestry
impl TryFrom<PageCommands> for GetAdScriptAncestry
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <GetAdScriptAncestry as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for GetAnnotatedPageContent
impl TryFrom<PageCommands> for GetAnnotatedPageContent
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <GetAnnotatedPageContent as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for GetAppId
impl TryFrom<PageCommands> for GetAppId
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <GetAppId as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for GetAppManifest
impl TryFrom<PageCommands> for GetAppManifest
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <GetAppManifest as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for GetFrameTree
impl TryFrom<PageCommands> for GetFrameTree
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <GetFrameTree as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for GetInstallabilityErrors
impl TryFrom<PageCommands> for GetInstallabilityErrors
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <GetInstallabilityErrors as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for GetLayoutMetrics
impl TryFrom<PageCommands> for GetLayoutMetrics
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <GetLayoutMetrics as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <GetNavigationHistory as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for GetOriginTrials
impl TryFrom<PageCommands> for GetOriginTrials
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <GetOriginTrials as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for GetPermissionsPolicyState
impl TryFrom<PageCommands> for GetPermissionsPolicyState
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <GetPermissionsPolicyState as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for GetResourceContent
impl TryFrom<PageCommands> for GetResourceContent
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <GetResourceContent as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for GetResourceTree
impl TryFrom<PageCommands> for GetResourceTree
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <GetResourceTree as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for HandleJavaScriptDialog
impl TryFrom<PageCommands> for HandleJavaScriptDialog
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <HandleJavaScriptDialog as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <Navigate as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <NavigateToHistoryEntry as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for PrintToPdf
impl TryFrom<PageCommands> for PrintToPdf
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <PrintToPdf as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for ProduceCompilationCache
impl TryFrom<PageCommands> for ProduceCompilationCache
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <ProduceCompilationCache as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for Reload
impl TryFrom<PageCommands> for Reload
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <Reload as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for RemoveScriptToEvaluateOnNewDocument
impl TryFrom<PageCommands> for RemoveScriptToEvaluateOnNewDocument
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <RemoveScriptToEvaluateOnNewDocument as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <ResetNavigationHistory as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for ScreencastFrameAck
impl TryFrom<PageCommands> for ScreencastFrameAck
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <ScreencastFrameAck as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for SearchInResource
impl TryFrom<PageCommands> for SearchInResource
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <SearchInResource as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for SetAdBlockingEnabled
impl TryFrom<PageCommands> for SetAdBlockingEnabled
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <SetAdBlockingEnabled as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for SetBypassCsp
impl TryFrom<PageCommands> for SetBypassCsp
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <SetBypassCsp as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for SetDocumentContent
impl TryFrom<PageCommands> for SetDocumentContent
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <SetDocumentContent as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for SetFontFamilies
impl TryFrom<PageCommands> for SetFontFamilies
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <SetFontFamilies as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for SetFontSizes
impl TryFrom<PageCommands> for SetFontSizes
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <SetFontSizes as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for SetInterceptFileChooserDialog
impl TryFrom<PageCommands> for SetInterceptFileChooserDialog
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <SetInterceptFileChooserDialog as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for SetLifecycleEventsEnabled
impl TryFrom<PageCommands> for SetLifecycleEventsEnabled
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <SetLifecycleEventsEnabled as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for SetPrerenderingAllowed
impl TryFrom<PageCommands> for SetPrerenderingAllowed
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <SetPrerenderingAllowed as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for SetRphRegistrationMode
impl TryFrom<PageCommands> for SetRphRegistrationMode
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <SetRphRegistrationMode as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for SetSpcTransactionMode
impl TryFrom<PageCommands> for SetSpcTransactionMode
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <SetSpcTransactionMode as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for SetWebLifecycleState
impl TryFrom<PageCommands> for SetWebLifecycleState
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <SetWebLifecycleState as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for StartScreencast
impl TryFrom<PageCommands> for StartScreencast
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <StartScreencast as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for StopLoading
impl TryFrom<PageCommands> for StopLoading
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <StopLoading as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for StopScreencast
impl TryFrom<PageCommands> for StopScreencast
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <StopScreencast as TryFrom<PageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for WaitForDebugger
impl TryFrom<PageCommands> for WaitForDebugger
Source§type Error = PageCommands
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>
fn try_from( e: PageCommands, ) -> Result<Self, <WaitForDebugger as TryFrom<PageCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for PageCommands
Auto Trait Implementations§
impl Freeze for PageCommands
impl RefUnwindSafe for PageCommands
impl Send for PageCommands
impl Sync for PageCommands
impl Unpin for PageCommands
impl UnsafeUnpin for PageCommands
impl UnwindSafe for PageCommands
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