Skip to main content

BrowserCommands

Enum BrowserCommands 

Source
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

Source

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

Trait Implementations§

Source§

impl Clone for BrowserCommands

Source§

fn clone(&self) -> BrowserCommands

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 BrowserCommands

Source§

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

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

impl<'de> Deserialize<'de> for BrowserCommands

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<AddPrivacySandboxCoordinatorKeyConfig> for BrowserCommands

Source§

fn from(v: AddPrivacySandboxCoordinatorKeyConfig) -> Self

Converts to this type from the input type.
Source§

impl From<AddPrivacySandboxEnrollmentOverride> for BrowserCommands

Source§

fn from(v: AddPrivacySandboxEnrollmentOverride) -> Self

Converts to this type from the input type.
Source§

impl From<BrowserCommands> for BrowserProtocolCommands

Source§

fn from(v: BrowserCommands) -> Self

Converts to this type from the input type.
Source§

impl From<BrowserCommands> for Command

Source§

fn from(v: BrowserCommands) -> Self

Converts to this type from the input type.
Source§

impl From<CancelDownload> for BrowserCommands

Source§

fn from(v: CancelDownload) -> Self

Converts to this type from the input type.
Source§

impl From<Close> for BrowserCommands

Source§

fn from(v: Close) -> Self

Converts to this type from the input type.
Source§

impl From<Crash> for BrowserCommands

Source§

fn from(v: Crash) -> Self

Converts to this type from the input type.
Source§

impl From<CrashGpuProcess> for BrowserCommands

Source§

fn from(v: CrashGpuProcess) -> Self

Converts to this type from the input type.
Source§

impl From<ExecuteBrowserCommand> for BrowserCommands

Source§

fn from(v: ExecuteBrowserCommand) -> Self

Converts to this type from the input type.
Source§

impl From<GetBrowserCommandLine> for BrowserCommands

Source§

fn from(v: GetBrowserCommandLine) -> Self

Converts to this type from the input type.
Source§

impl From<GetHistogram> for BrowserCommands

Source§

fn from(v: GetHistogram) -> Self

Converts to this type from the input type.
Source§

impl From<GetHistograms> for BrowserCommands

Source§

fn from(v: GetHistograms) -> Self

Converts to this type from the input type.
Source§

impl From<GetVersion> for BrowserCommands

Source§

fn from(v: GetVersion) -> Self

Converts to this type from the input type.
Source§

impl From<GetWindowBounds> for BrowserCommands

Source§

fn from(v: GetWindowBounds) -> Self

Converts to this type from the input type.
Source§

impl From<GetWindowForTarget> for BrowserCommands

Source§

fn from(v: GetWindowForTarget) -> Self

Converts to this type from the input type.
Source§

impl From<ResetPermissions> for BrowserCommands

Source§

fn from(v: ResetPermissions) -> Self

Converts to this type from the input type.
Source§

impl From<SetContentsSize> for BrowserCommands

Source§

fn from(v: SetContentsSize) -> Self

Converts to this type from the input type.
Source§

impl From<SetDockTile> for BrowserCommands

Source§

fn from(v: SetDockTile) -> Self

Converts to this type from the input type.
Source§

impl From<SetDownloadBehavior> for BrowserCommands

Source§

fn from(v: SetDownloadBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<SetPermission> for BrowserCommands

Source§

fn from(v: SetPermission) -> Self

Converts to this type from the input type.
Source§

impl From<SetWindowBounds> for BrowserCommands

Source§

fn from(v: SetWindowBounds) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for BrowserCommands

Source§

fn eq(&self, other: &BrowserCommands) -> 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 BrowserCommands

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<BrowserCommands> for AddPrivacySandboxCoordinatorKeyConfig

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for AddPrivacySandboxEnrollmentOverride

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for CancelDownload

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for Close

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for Crash

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for CrashGpuProcess

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for ExecuteBrowserCommand

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for GetBrowserCommandLine

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for GetHistogram

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for GetHistograms

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for GetVersion

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for GetWindowBounds

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for GetWindowForTarget

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for ResetPermissions

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for SetContentsSize

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for SetDockTile

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for SetDownloadBehavior

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for SetPermission

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserCommands> for SetWindowBounds

Source§

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>

Performs the conversion.
Source§

impl TryFrom<BrowserProtocolCommands> for BrowserCommands

Source§

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>

Performs the conversion.
Source§

impl TryFrom<Command> for BrowserCommands

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl StructuralPartialEq for BrowserCommands

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>,