pub enum BrowserCommands {
Show 19 variants
SetPermission(SetPermission),
ResetPermissions(ResetPermissions),
SetDownloadBehavior(SetDownloadBehavior),
CancelDownload(CancelDownload),
Close(Close),
Crash(Crash),
CrashGpuProcess(CrashGpuProcess),
GetVersion(GetVersion),
GetBrowserCommandLine(GetBrowserCommandLine),
GetHistograms(GetHistograms),
GetHistogram(GetHistogram),
GetWindowBounds(GetWindowBounds),
GetWindowForTarget(GetWindowForTarget),
SetWindowBounds(SetWindowBounds),
SetContentsSize(SetContentsSize),
SetDockTile(SetDockTile),
ExecuteBrowserCommand(ExecuteBrowserCommand),
AddPrivacySandboxEnrollmentOverride(AddPrivacySandboxEnrollmentOverride),
AddPrivacySandboxCoordinatorKeyConfig(AddPrivacySandboxCoordinatorKeyConfig),
}Variants§
SetPermission(SetPermission)
ResetPermissions(ResetPermissions)
SetDownloadBehavior(SetDownloadBehavior)
CancelDownload(CancelDownload)
Close(Close)
Crash(Crash)
CrashGpuProcess(CrashGpuProcess)
GetVersion(GetVersion)
GetBrowserCommandLine(GetBrowserCommandLine)
GetHistograms(GetHistograms)
GetHistogram(GetHistogram)
GetWindowBounds(GetWindowBounds)
GetWindowForTarget(GetWindowForTarget)
SetWindowBounds(SetWindowBounds)
SetContentsSize(SetContentsSize)
SetDockTile(SetDockTile)
ExecuteBrowserCommand(ExecuteBrowserCommand)
AddPrivacySandboxEnrollmentOverride(AddPrivacySandboxEnrollmentOverride)
AddPrivacySandboxCoordinatorKeyConfig(AddPrivacySandboxCoordinatorKeyConfig)
Implementations§
Source§impl BrowserCommands
impl BrowserCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for BrowserCommands
impl Clone for BrowserCommands
Source§fn clone(&self) -> BrowserCommands
fn clone(&self) -> BrowserCommands
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 BrowserCommands
impl Debug for BrowserCommands
Source§impl<'de> Deserialize<'de> for BrowserCommands
impl<'de> Deserialize<'de> for BrowserCommands
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<AddPrivacySandboxCoordinatorKeyConfig> for BrowserCommands
impl From<AddPrivacySandboxCoordinatorKeyConfig> for BrowserCommands
Source§fn from(v: AddPrivacySandboxCoordinatorKeyConfig) -> Self
fn from(v: AddPrivacySandboxCoordinatorKeyConfig) -> Self
Converts to this type from the input type.
Source§impl From<AddPrivacySandboxEnrollmentOverride> for BrowserCommands
impl From<AddPrivacySandboxEnrollmentOverride> for BrowserCommands
Source§fn from(v: AddPrivacySandboxEnrollmentOverride) -> Self
fn from(v: AddPrivacySandboxEnrollmentOverride) -> Self
Converts to this type from the input type.
Source§impl From<BrowserCommands> for BrowserProtocolCommands
impl From<BrowserCommands> for BrowserProtocolCommands
Source§fn from(v: BrowserCommands) -> Self
fn from(v: BrowserCommands) -> Self
Converts to this type from the input type.
Source§impl From<BrowserCommands> for Command
impl From<BrowserCommands> for Command
Source§fn from(v: BrowserCommands) -> Self
fn from(v: BrowserCommands) -> Self
Converts to this type from the input type.
Source§impl From<CancelDownload> for BrowserCommands
impl From<CancelDownload> for BrowserCommands
Source§fn from(v: CancelDownload) -> Self
fn from(v: CancelDownload) -> Self
Converts to this type from the input type.
Source§impl From<Close> for BrowserCommands
impl From<Close> for BrowserCommands
Source§impl From<Crash> for BrowserCommands
impl From<Crash> for BrowserCommands
Source§impl From<CrashGpuProcess> for BrowserCommands
impl From<CrashGpuProcess> for BrowserCommands
Source§fn from(v: CrashGpuProcess) -> Self
fn from(v: CrashGpuProcess) -> Self
Converts to this type from the input type.
Source§impl From<ExecuteBrowserCommand> for BrowserCommands
impl From<ExecuteBrowserCommand> for BrowserCommands
Source§fn from(v: ExecuteBrowserCommand) -> Self
fn from(v: ExecuteBrowserCommand) -> Self
Converts to this type from the input type.
Source§impl From<GetBrowserCommandLine> for BrowserCommands
impl From<GetBrowserCommandLine> for BrowserCommands
Source§fn from(v: GetBrowserCommandLine) -> Self
fn from(v: GetBrowserCommandLine) -> Self
Converts to this type from the input type.
Source§impl From<GetHistogram> for BrowserCommands
impl From<GetHistogram> for BrowserCommands
Source§fn from(v: GetHistogram) -> Self
fn from(v: GetHistogram) -> Self
Converts to this type from the input type.
Source§impl From<GetHistograms> for BrowserCommands
impl From<GetHistograms> for BrowserCommands
Source§fn from(v: GetHistograms) -> Self
fn from(v: GetHistograms) -> Self
Converts to this type from the input type.
Source§impl From<GetVersion> for BrowserCommands
impl From<GetVersion> for BrowserCommands
Source§fn from(v: GetVersion) -> Self
fn from(v: GetVersion) -> Self
Converts to this type from the input type.
Source§impl From<GetWindowBounds> for BrowserCommands
impl From<GetWindowBounds> for BrowserCommands
Source§fn from(v: GetWindowBounds) -> Self
fn from(v: GetWindowBounds) -> Self
Converts to this type from the input type.
Source§impl From<GetWindowForTarget> for BrowserCommands
impl From<GetWindowForTarget> for BrowserCommands
Source§fn from(v: GetWindowForTarget) -> Self
fn from(v: GetWindowForTarget) -> Self
Converts to this type from the input type.
Source§impl From<ResetPermissions> for BrowserCommands
impl From<ResetPermissions> for BrowserCommands
Source§fn from(v: ResetPermissions) -> Self
fn from(v: ResetPermissions) -> Self
Converts to this type from the input type.
Source§impl From<SetContentsSize> for BrowserCommands
impl From<SetContentsSize> for BrowserCommands
Source§fn from(v: SetContentsSize) -> Self
fn from(v: SetContentsSize) -> Self
Converts to this type from the input type.
Source§impl From<SetDockTile> for BrowserCommands
impl From<SetDockTile> for BrowserCommands
Source§fn from(v: SetDockTile) -> Self
fn from(v: SetDockTile) -> Self
Converts to this type from the input type.
Source§impl From<SetDownloadBehavior> for BrowserCommands
impl From<SetDownloadBehavior> for BrowserCommands
Source§fn from(v: SetDownloadBehavior) -> Self
fn from(v: SetDownloadBehavior) -> Self
Converts to this type from the input type.
Source§impl From<SetPermission> for BrowserCommands
impl From<SetPermission> for BrowserCommands
Source§fn from(v: SetPermission) -> Self
fn from(v: SetPermission) -> Self
Converts to this type from the input type.
Source§impl From<SetWindowBounds> for BrowserCommands
impl From<SetWindowBounds> for BrowserCommands
Source§fn from(v: SetWindowBounds) -> Self
fn from(v: SetWindowBounds) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BrowserCommands
impl PartialEq for BrowserCommands
Source§impl Serialize for BrowserCommands
impl Serialize for BrowserCommands
Source§impl TryFrom<BrowserCommands> for AddPrivacySandboxCoordinatorKeyConfig
impl TryFrom<BrowserCommands> for AddPrivacySandboxCoordinatorKeyConfig
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <AddPrivacySandboxCoordinatorKeyConfig as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <AddPrivacySandboxCoordinatorKeyConfig as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for AddPrivacySandboxEnrollmentOverride
impl TryFrom<BrowserCommands> for AddPrivacySandboxEnrollmentOverride
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <AddPrivacySandboxEnrollmentOverride as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <AddPrivacySandboxEnrollmentOverride as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for CancelDownload
impl TryFrom<BrowserCommands> for CancelDownload
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <CancelDownload as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <CancelDownload as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for Close
impl TryFrom<BrowserCommands> for Close
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <Close as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <Close as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for Crash
impl TryFrom<BrowserCommands> for Crash
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <Crash as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <Crash as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for CrashGpuProcess
impl TryFrom<BrowserCommands> for CrashGpuProcess
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <CrashGpuProcess as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <CrashGpuProcess as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for ExecuteBrowserCommand
impl TryFrom<BrowserCommands> for ExecuteBrowserCommand
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <ExecuteBrowserCommand as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <ExecuteBrowserCommand as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for GetBrowserCommandLine
impl TryFrom<BrowserCommands> for GetBrowserCommandLine
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <GetBrowserCommandLine as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <GetBrowserCommandLine as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for GetHistogram
impl TryFrom<BrowserCommands> for GetHistogram
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <GetHistogram as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <GetHistogram as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for GetHistograms
impl TryFrom<BrowserCommands> for GetHistograms
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <GetHistograms as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <GetHistograms as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for GetVersion
impl TryFrom<BrowserCommands> for GetVersion
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <GetVersion as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <GetVersion as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for GetWindowBounds
impl TryFrom<BrowserCommands> for GetWindowBounds
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <GetWindowBounds as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <GetWindowBounds as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for GetWindowForTarget
impl TryFrom<BrowserCommands> for GetWindowForTarget
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <GetWindowForTarget as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <GetWindowForTarget as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for ResetPermissions
impl TryFrom<BrowserCommands> for ResetPermissions
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <ResetPermissions as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <ResetPermissions as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for SetContentsSize
impl TryFrom<BrowserCommands> for SetContentsSize
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <SetContentsSize as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <SetContentsSize as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for SetDockTile
impl TryFrom<BrowserCommands> for SetDockTile
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <SetDockTile as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <SetDockTile as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for SetDownloadBehavior
impl TryFrom<BrowserCommands> for SetDownloadBehavior
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <SetDownloadBehavior as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <SetDownloadBehavior as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for SetPermission
impl TryFrom<BrowserCommands> for SetPermission
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <SetPermission as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <SetPermission as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserCommands> for SetWindowBounds
impl TryFrom<BrowserCommands> for SetWindowBounds
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <SetWindowBounds as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <SetWindowBounds as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for BrowserCommands
impl TryFrom<BrowserProtocolCommands> for BrowserCommands
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, <BrowserCommands as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <BrowserCommands as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for BrowserCommands
impl TryFrom<Command> for BrowserCommands
impl StructuralPartialEq for BrowserCommands
Auto Trait Implementations§
impl Freeze for BrowserCommands
impl RefUnwindSafe for BrowserCommands
impl Send for BrowserCommands
impl Sync for BrowserCommands
impl Unpin for BrowserCommands
impl UnsafeUnpin for BrowserCommands
impl UnwindSafe for BrowserCommands
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