Skip to main content

Command

Enum Command 

Source
pub enum Command {
    Browser(BrowserCommand),
    BrowsingContext(BrowsingContextCommand),
    Emulation(EmulationCommand),
    Input(InputCommand),
    Network(NetworkCommand),
    Script(ScriptCommand),
    Session(SessionCommand),
    Storage(StorageCommand),
    WebExtension(WebExtensionCommand),
}

Variants§

Implementations§

Source§

impl Command

Source

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

Trait Implementations§

Source§

impl Clone for Command

Source§

fn clone(&self) -> Command

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 Command

Source§

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

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

impl<'de> Deserialize<'de> for Command

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<Activate> for Command

Source§

fn from(v: Activate) -> Self

Converts to this type from the input type.
Source§

impl From<AddDataCollector> for Command

Source§

fn from(v: AddDataCollector) -> Self

Converts to this type from the input type.
Source§

impl From<AddIntercept> for Command

Source§

fn from(v: AddIntercept) -> Self

Converts to this type from the input type.
Source§

impl From<AddPreloadScript> for Command

Source§

fn from(v: AddPreloadScript) -> Self

Converts to this type from the input type.
Source§

impl From<BrowserCommand> for Command

Source§

fn from(v: BrowserCommand) -> Self

Converts to this type from the input type.
Source§

impl From<BrowsingContextCommand> for Command

Source§

fn from(v: BrowsingContextCommand) -> Self

Converts to this type from the input type.
Source§

impl From<CallFunction> for Command

Source§

fn from(v: CallFunction) -> Self

Converts to this type from the input type.
Source§

impl From<CaptureScreenshot> for Command

Source§

fn from(v: CaptureScreenshot) -> Self

Converts to this type from the input type.
Source§

impl From<Close> for Command

Source§

fn from(v: Close) -> Self

Converts to this type from the input type.
Source§

impl From<Close> for Command

Source§

fn from(v: Close) -> Self

Converts to this type from the input type.
Source§

impl From<ContinueRequest> for Command

Source§

fn from(v: ContinueRequest) -> Self

Converts to this type from the input type.
Source§

impl From<ContinueResponse> for Command

Source§

fn from(v: ContinueResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ContinueWithAuth> for Command

Source§

fn from(v: ContinueWithAuth) -> Self

Converts to this type from the input type.
Source§

impl From<Create> for Command

Source§

fn from(v: Create) -> Self

Converts to this type from the input type.
Source§

impl From<CreateUserContext> for Command

Source§

fn from(v: CreateUserContext) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteCookies> for Command

Source§

fn from(v: DeleteCookies) -> Self

Converts to this type from the input type.
Source§

impl From<Disown> for Command

Source§

fn from(v: Disown) -> Self

Converts to this type from the input type.
Source§

impl From<DisownData> for Command

Source§

fn from(v: DisownData) -> Self

Converts to this type from the input type.
Source§

impl From<EmulationCommand> for Command

Source§

fn from(v: EmulationCommand) -> Self

Converts to this type from the input type.
Source§

impl From<End> for Command

Source§

fn from(v: End) -> Self

Converts to this type from the input type.
Source§

impl From<Evaluate> for Command

Source§

fn from(v: Evaluate) -> Self

Converts to this type from the input type.
Source§

impl From<FailRequest> for Command

Source§

fn from(v: FailRequest) -> Self

Converts to this type from the input type.
Source§

impl From<GetClientWindows> for Command

Source§

fn from(v: GetClientWindows) -> Self

Converts to this type from the input type.
Source§

impl From<GetCookies> for Command

Source§

fn from(v: GetCookies) -> Self

Converts to this type from the input type.
Source§

impl From<GetData> for Command

Source§

fn from(v: GetData) -> Self

Converts to this type from the input type.
Source§

impl From<GetRealms> for Command

Source§

fn from(v: GetRealms) -> Self

Converts to this type from the input type.
Source§

impl From<GetTree> for Command

Source§

fn from(v: GetTree) -> Self

Converts to this type from the input type.
Source§

impl From<GetUserContexts> for Command

Source§

fn from(v: GetUserContexts) -> Self

Converts to this type from the input type.
Source§

impl From<HandleUserPrompt> for Command

Source§

fn from(v: HandleUserPrompt) -> Self

Converts to this type from the input type.
Source§

impl From<InputCommand> for Command

Source§

fn from(v: InputCommand) -> Self

Converts to this type from the input type.
Source§

impl From<Install> for Command

Source§

fn from(v: Install) -> Self

Converts to this type from the input type.
Source§

impl From<LocateNodes> for Command

Source§

fn from(v: LocateNodes) -> Self

Converts to this type from the input type.
Source§

impl From<Navigate> for Command

Source§

fn from(v: Navigate) -> Self

Converts to this type from the input type.
Source§

impl From<NetworkCommand> for Command

Source§

fn from(v: NetworkCommand) -> Self

Converts to this type from the input type.
Source§

impl From<New> for Command

Source§

fn from(v: New) -> Self

Converts to this type from the input type.
Source§

impl From<PerformActions> for Command

Source§

fn from(v: PerformActions) -> Self

Converts to this type from the input type.
Source§

impl From<Print> for Command

Source§

fn from(v: Print) -> Self

Converts to this type from the input type.
Source§

impl From<ProvideResponse> for Command

Source§

fn from(v: ProvideResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ReleaseActions> for Command

Source§

fn from(v: ReleaseActions) -> Self

Converts to this type from the input type.
Source§

impl From<Reload> for Command

Source§

fn from(v: Reload) -> Self

Converts to this type from the input type.
Source§

impl From<RemoveDataCollector> for Command

Source§

fn from(v: RemoveDataCollector) -> Self

Converts to this type from the input type.
Source§

impl From<RemoveIntercept> for Command

Source§

fn from(v: RemoveIntercept) -> Self

Converts to this type from the input type.
Source§

impl From<RemovePreloadScript> for Command

Source§

fn from(v: RemovePreloadScript) -> Self

Converts to this type from the input type.
Source§

impl From<RemoveUserContext> for Command

Source§

fn from(v: RemoveUserContext) -> Self

Converts to this type from the input type.
Source§

impl From<ScriptCommand> for Command

Source§

fn from(v: ScriptCommand) -> Self

Converts to this type from the input type.
Source§

impl From<SessionCommand> for Command

Source§

fn from(v: SessionCommand) -> Self

Converts to this type from the input type.
Source§

impl From<SetCacheBehavior> for Command

Source§

fn from(v: SetCacheBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<SetClientWindowState> for Command

Source§

fn from(v: SetClientWindowState) -> Self

Converts to this type from the input type.
Source§

impl From<SetCookie> for Command

Source§

fn from(v: SetCookie) -> Self

Converts to this type from the input type.
Source§

impl From<SetDownloadBehavior> for Command

Source§

fn from(v: SetDownloadBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<SetExtraHeaders> for Command

Source§

fn from(v: SetExtraHeaders) -> Self

Converts to this type from the input type.
Source§

impl From<SetFiles> for Command

Source§

fn from(v: SetFiles) -> Self

Converts to this type from the input type.
Source§

impl From<SetForcedColorsModeThemeOverride> for Command

Source§

fn from(v: SetForcedColorsModeThemeOverride) -> Self

Converts to this type from the input type.
Source§

impl From<SetGeolocationOverride> for Command

Source§

fn from(v: SetGeolocationOverride) -> Self

Converts to this type from the input type.
Source§

impl From<SetLocaleOverride> for Command

Source§

fn from(v: SetLocaleOverride) -> Self

Converts to this type from the input type.
Source§

impl From<SetNetworkConditions> for Command

Source§

fn from(v: SetNetworkConditions) -> Self

Converts to this type from the input type.
Source§

impl From<SetScreenOrientationOverride> for Command

Source§

fn from(v: SetScreenOrientationOverride) -> Self

Converts to this type from the input type.
Source§

impl From<SetScriptingEnabled> for Command

Source§

fn from(v: SetScriptingEnabled) -> Self

Converts to this type from the input type.
Source§

impl From<SetTimezoneOverride> for Command

Source§

fn from(v: SetTimezoneOverride) -> Self

Converts to this type from the input type.
Source§

impl From<SetUserAgentOverride> for Command

Source§

fn from(v: SetUserAgentOverride) -> Self

Converts to this type from the input type.
Source§

impl From<SetViewport> for Command

Source§

fn from(v: SetViewport) -> Self

Converts to this type from the input type.
Source§

impl From<Status> for Command

Source§

fn from(v: Status) -> Self

Converts to this type from the input type.
Source§

impl From<StorageCommand> for Command

Source§

fn from(v: StorageCommand) -> Self

Converts to this type from the input type.
Source§

impl From<Subscribe> for Command

Source§

fn from(v: Subscribe) -> Self

Converts to this type from the input type.
Source§

impl From<TraverseHistory> for Command

Source§

fn from(v: TraverseHistory) -> Self

Converts to this type from the input type.
Source§

impl From<Uninstall> for Command

Source§

fn from(v: Uninstall) -> Self

Converts to this type from the input type.
Source§

impl From<Unsubscribe> for Command

Source§

fn from(v: Unsubscribe) -> Self

Converts to this type from the input type.
Source§

impl From<WebExtensionCommand> for Command

Source§

fn from(v: WebExtensionCommand) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for Command

Source§

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

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<Command> for Activate

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for AddDataCollector

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for AddIntercept

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for AddPreloadScript

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for BrowserCommand

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for BrowsingContextCommand

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for CallFunction

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for CaptureScreenshot

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for Close

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for Close

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for ContinueRequest

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for ContinueResponse

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for ContinueWithAuth

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for Create

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for CreateUserContext

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for DeleteCookies

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for Disown

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for DisownData

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for EmulationCommand

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for End

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for Evaluate

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for FailRequest

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for GetClientWindows

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for GetCookies

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for GetData

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for GetRealms

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for GetTree

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for GetUserContexts

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for HandleUserPrompt

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for InputCommand

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for Install

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for LocateNodes

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for Navigate

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for NetworkCommand

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for New

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for PerformActions

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for Print

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for ProvideResponse

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for ReleaseActions

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for Reload

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for RemoveDataCollector

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for RemoveIntercept

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for RemovePreloadScript

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for RemoveUserContext

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for ScriptCommand

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SessionCommand

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetCacheBehavior

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetClientWindowState

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetCookie

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetDownloadBehavior

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetExtraHeaders

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetFiles

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetForcedColorsModeThemeOverride

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetGeolocationOverride

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetLocaleOverride

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetNetworkConditions

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetScreenOrientationOverride

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetScriptingEnabled

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetTimezoneOverride

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetUserAgentOverride

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for SetViewport

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for Status

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for StorageCommand

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for Subscribe

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for TraverseHistory

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for Uninstall

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for Unsubscribe

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl TryFrom<Command> for WebExtensionCommand

Source§

type Error = Command

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

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

Performs the conversion.
Source§

impl StructuralPartialEq for Command

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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
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>,