pub enum Command {
Browser(BrowserCommand),
BrowsingContext(BrowsingContextCommand),
Emulation(EmulationCommand),
Input(InputCommand),
Network(NetworkCommand),
Script(ScriptCommand),
Session(SessionCommand),
Storage(StorageCommand),
WebExtension(WebExtensionCommand),
}Variants§
Browser(BrowserCommand)
BrowsingContext(BrowsingContextCommand)
Emulation(EmulationCommand)
Input(InputCommand)
Network(NetworkCommand)
Script(ScriptCommand)
Session(SessionCommand)
Storage(StorageCommand)
WebExtension(WebExtensionCommand)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Command
impl<'de> Deserialize<'de> for Command
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<AddDataCollector> for Command
impl From<AddDataCollector> for Command
Source§fn from(v: AddDataCollector) -> Self
fn from(v: AddDataCollector) -> Self
Converts to this type from the input type.
Source§impl From<AddIntercept> for Command
impl From<AddIntercept> for Command
Source§fn from(v: AddIntercept) -> Self
fn from(v: AddIntercept) -> Self
Converts to this type from the input type.
Source§impl From<AddPreloadScript> for Command
impl From<AddPreloadScript> for Command
Source§fn from(v: AddPreloadScript) -> Self
fn from(v: AddPreloadScript) -> Self
Converts to this type from the input type.
Source§impl From<BrowserCommand> for Command
impl From<BrowserCommand> for Command
Source§fn from(v: BrowserCommand) -> Self
fn from(v: BrowserCommand) -> Self
Converts to this type from the input type.
Source§impl From<BrowsingContextCommand> for Command
impl From<BrowsingContextCommand> for Command
Source§fn from(v: BrowsingContextCommand) -> Self
fn from(v: BrowsingContextCommand) -> Self
Converts to this type from the input type.
Source§impl From<CallFunction> for Command
impl From<CallFunction> for Command
Source§fn from(v: CallFunction) -> Self
fn from(v: CallFunction) -> Self
Converts to this type from the input type.
Source§impl From<CaptureScreenshot> for Command
impl From<CaptureScreenshot> for Command
Source§fn from(v: CaptureScreenshot) -> Self
fn from(v: CaptureScreenshot) -> Self
Converts to this type from the input type.
Source§impl From<ContinueRequest> for Command
impl From<ContinueRequest> for Command
Source§fn from(v: ContinueRequest) -> Self
fn from(v: ContinueRequest) -> Self
Converts to this type from the input type.
Source§impl From<ContinueResponse> for Command
impl From<ContinueResponse> for Command
Source§fn from(v: ContinueResponse) -> Self
fn from(v: ContinueResponse) -> Self
Converts to this type from the input type.
Source§impl From<ContinueWithAuth> for Command
impl From<ContinueWithAuth> for Command
Source§fn from(v: ContinueWithAuth) -> Self
fn from(v: ContinueWithAuth) -> Self
Converts to this type from the input type.
Source§impl From<CreateUserContext> for Command
impl From<CreateUserContext> for Command
Source§fn from(v: CreateUserContext) -> Self
fn from(v: CreateUserContext) -> Self
Converts to this type from the input type.
Source§impl From<DeleteCookies> for Command
impl From<DeleteCookies> for Command
Source§fn from(v: DeleteCookies) -> Self
fn from(v: DeleteCookies) -> Self
Converts to this type from the input type.
Source§impl From<DisownData> for Command
impl From<DisownData> for Command
Source§fn from(v: DisownData) -> Self
fn from(v: DisownData) -> Self
Converts to this type from the input type.
Source§impl From<EmulationCommand> for Command
impl From<EmulationCommand> for Command
Source§fn from(v: EmulationCommand) -> Self
fn from(v: EmulationCommand) -> Self
Converts to this type from the input type.
Source§impl From<FailRequest> for Command
impl From<FailRequest> for Command
Source§fn from(v: FailRequest) -> Self
fn from(v: FailRequest) -> Self
Converts to this type from the input type.
Source§impl From<GetClientWindows> for Command
impl From<GetClientWindows> for Command
Source§fn from(v: GetClientWindows) -> Self
fn from(v: GetClientWindows) -> Self
Converts to this type from the input type.
Source§impl From<GetCookies> for Command
impl From<GetCookies> for Command
Source§fn from(v: GetCookies) -> Self
fn from(v: GetCookies) -> Self
Converts to this type from the input type.
Source§impl From<GetUserContexts> for Command
impl From<GetUserContexts> for Command
Source§fn from(v: GetUserContexts) -> Self
fn from(v: GetUserContexts) -> Self
Converts to this type from the input type.
Source§impl From<HandleUserPrompt> for Command
impl From<HandleUserPrompt> for Command
Source§fn from(v: HandleUserPrompt) -> Self
fn from(v: HandleUserPrompt) -> Self
Converts to this type from the input type.
Source§impl From<InputCommand> for Command
impl From<InputCommand> for Command
Source§fn from(v: InputCommand) -> Self
fn from(v: InputCommand) -> Self
Converts to this type from the input type.
Source§impl From<LocateNodes> for Command
impl From<LocateNodes> for Command
Source§fn from(v: LocateNodes) -> Self
fn from(v: LocateNodes) -> Self
Converts to this type from the input type.
Source§impl From<NetworkCommand> for Command
impl From<NetworkCommand> for Command
Source§fn from(v: NetworkCommand) -> Self
fn from(v: NetworkCommand) -> Self
Converts to this type from the input type.
Source§impl From<PerformActions> for Command
impl From<PerformActions> for Command
Source§fn from(v: PerformActions) -> Self
fn from(v: PerformActions) -> Self
Converts to this type from the input type.
Source§impl From<ProvideResponse> for Command
impl From<ProvideResponse> for Command
Source§fn from(v: ProvideResponse) -> Self
fn from(v: ProvideResponse) -> Self
Converts to this type from the input type.
Source§impl From<ReleaseActions> for Command
impl From<ReleaseActions> for Command
Source§fn from(v: ReleaseActions) -> Self
fn from(v: ReleaseActions) -> Self
Converts to this type from the input type.
Source§impl From<RemoveDataCollector> for Command
impl From<RemoveDataCollector> for Command
Source§fn from(v: RemoveDataCollector) -> Self
fn from(v: RemoveDataCollector) -> Self
Converts to this type from the input type.
Source§impl From<RemoveIntercept> for Command
impl From<RemoveIntercept> for Command
Source§fn from(v: RemoveIntercept) -> Self
fn from(v: RemoveIntercept) -> Self
Converts to this type from the input type.
Source§impl From<RemovePreloadScript> for Command
impl From<RemovePreloadScript> for Command
Source§fn from(v: RemovePreloadScript) -> Self
fn from(v: RemovePreloadScript) -> Self
Converts to this type from the input type.
Source§impl From<RemoveUserContext> for Command
impl From<RemoveUserContext> for Command
Source§fn from(v: RemoveUserContext) -> Self
fn from(v: RemoveUserContext) -> Self
Converts to this type from the input type.
Source§impl From<ScriptCommand> for Command
impl From<ScriptCommand> for Command
Source§fn from(v: ScriptCommand) -> Self
fn from(v: ScriptCommand) -> Self
Converts to this type from the input type.
Source§impl From<SessionCommand> for Command
impl From<SessionCommand> for Command
Source§fn from(v: SessionCommand) -> Self
fn from(v: SessionCommand) -> Self
Converts to this type from the input type.
Source§impl From<SetCacheBehavior> for Command
impl From<SetCacheBehavior> for Command
Source§fn from(v: SetCacheBehavior) -> Self
fn from(v: SetCacheBehavior) -> Self
Converts to this type from the input type.
Source§impl From<SetClientWindowState> for Command
impl From<SetClientWindowState> for Command
Source§fn from(v: SetClientWindowState) -> Self
fn from(v: SetClientWindowState) -> Self
Converts to this type from the input type.
Source§impl From<SetDownloadBehavior> for Command
impl From<SetDownloadBehavior> for Command
Source§fn from(v: SetDownloadBehavior) -> Self
fn from(v: SetDownloadBehavior) -> Self
Converts to this type from the input type.
Source§impl From<SetExtraHeaders> for Command
impl From<SetExtraHeaders> for Command
Source§fn from(v: SetExtraHeaders) -> Self
fn from(v: SetExtraHeaders) -> Self
Converts to this type from the input type.
Source§impl From<SetForcedColorsModeThemeOverride> for Command
impl From<SetForcedColorsModeThemeOverride> for Command
Source§fn from(v: SetForcedColorsModeThemeOverride) -> Self
fn from(v: SetForcedColorsModeThemeOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetGeolocationOverride> for Command
impl From<SetGeolocationOverride> for Command
Source§fn from(v: SetGeolocationOverride) -> Self
fn from(v: SetGeolocationOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetLocaleOverride> for Command
impl From<SetLocaleOverride> for Command
Source§fn from(v: SetLocaleOverride) -> Self
fn from(v: SetLocaleOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetNetworkConditions> for Command
impl From<SetNetworkConditions> for Command
Source§fn from(v: SetNetworkConditions) -> Self
fn from(v: SetNetworkConditions) -> Self
Converts to this type from the input type.
Source§impl From<SetScreenOrientationOverride> for Command
impl From<SetScreenOrientationOverride> for Command
Source§fn from(v: SetScreenOrientationOverride) -> Self
fn from(v: SetScreenOrientationOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetScriptingEnabled> for Command
impl From<SetScriptingEnabled> for Command
Source§fn from(v: SetScriptingEnabled) -> Self
fn from(v: SetScriptingEnabled) -> Self
Converts to this type from the input type.
Source§impl From<SetTimezoneOverride> for Command
impl From<SetTimezoneOverride> for Command
Source§fn from(v: SetTimezoneOverride) -> Self
fn from(v: SetTimezoneOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetUserAgentOverride> for Command
impl From<SetUserAgentOverride> for Command
Source§fn from(v: SetUserAgentOverride) -> Self
fn from(v: SetUserAgentOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetViewport> for Command
impl From<SetViewport> for Command
Source§fn from(v: SetViewport) -> Self
fn from(v: SetViewport) -> Self
Converts to this type from the input type.
Source§impl From<StorageCommand> for Command
impl From<StorageCommand> for Command
Source§fn from(v: StorageCommand) -> Self
fn from(v: StorageCommand) -> Self
Converts to this type from the input type.
Source§impl From<TraverseHistory> for Command
impl From<TraverseHistory> for Command
Source§fn from(v: TraverseHistory) -> Self
fn from(v: TraverseHistory) -> Self
Converts to this type from the input type.
Source§impl From<Unsubscribe> for Command
impl From<Unsubscribe> for Command
Source§fn from(v: Unsubscribe) -> Self
fn from(v: Unsubscribe) -> Self
Converts to this type from the input type.
Source§impl From<WebExtensionCommand> for Command
impl From<WebExtensionCommand> for Command
Source§fn from(v: WebExtensionCommand) -> Self
fn from(v: WebExtensionCommand) -> Self
Converts to this type from the input type.
Source§impl TryFrom<Command> for AddDataCollector
impl TryFrom<Command> for AddDataCollector
Source§impl TryFrom<Command> for AddIntercept
impl TryFrom<Command> for AddIntercept
Source§impl TryFrom<Command> for AddPreloadScript
impl TryFrom<Command> for AddPreloadScript
Source§impl TryFrom<Command> for BrowserCommand
impl TryFrom<Command> for BrowserCommand
Source§impl TryFrom<Command> for BrowsingContextCommand
impl TryFrom<Command> for BrowsingContextCommand
Source§impl TryFrom<Command> for CallFunction
impl TryFrom<Command> for CallFunction
Source§impl TryFrom<Command> for CaptureScreenshot
impl TryFrom<Command> for CaptureScreenshot
Source§impl TryFrom<Command> for ContinueRequest
impl TryFrom<Command> for ContinueRequest
Source§impl TryFrom<Command> for ContinueResponse
impl TryFrom<Command> for ContinueResponse
Source§impl TryFrom<Command> for ContinueWithAuth
impl TryFrom<Command> for ContinueWithAuth
Source§impl TryFrom<Command> for CreateUserContext
impl TryFrom<Command> for CreateUserContext
Source§impl TryFrom<Command> for DeleteCookies
impl TryFrom<Command> for DeleteCookies
Source§impl TryFrom<Command> for DisownData
impl TryFrom<Command> for DisownData
Source§impl TryFrom<Command> for EmulationCommand
impl TryFrom<Command> for EmulationCommand
Source§impl TryFrom<Command> for FailRequest
impl TryFrom<Command> for FailRequest
Source§impl TryFrom<Command> for GetClientWindows
impl TryFrom<Command> for GetClientWindows
Source§impl TryFrom<Command> for GetCookies
impl TryFrom<Command> for GetCookies
Source§impl TryFrom<Command> for GetUserContexts
impl TryFrom<Command> for GetUserContexts
Source§impl TryFrom<Command> for HandleUserPrompt
impl TryFrom<Command> for HandleUserPrompt
Source§impl TryFrom<Command> for InputCommand
impl TryFrom<Command> for InputCommand
Source§impl TryFrom<Command> for LocateNodes
impl TryFrom<Command> for LocateNodes
Source§impl TryFrom<Command> for NetworkCommand
impl TryFrom<Command> for NetworkCommand
Source§impl TryFrom<Command> for PerformActions
impl TryFrom<Command> for PerformActions
Source§impl TryFrom<Command> for ProvideResponse
impl TryFrom<Command> for ProvideResponse
Source§impl TryFrom<Command> for ReleaseActions
impl TryFrom<Command> for ReleaseActions
Source§impl TryFrom<Command> for RemoveDataCollector
impl TryFrom<Command> for RemoveDataCollector
Source§impl TryFrom<Command> for RemoveIntercept
impl TryFrom<Command> for RemoveIntercept
Source§impl TryFrom<Command> for RemovePreloadScript
impl TryFrom<Command> for RemovePreloadScript
Source§impl TryFrom<Command> for RemoveUserContext
impl TryFrom<Command> for RemoveUserContext
Source§impl TryFrom<Command> for ScriptCommand
impl TryFrom<Command> for ScriptCommand
Source§impl TryFrom<Command> for SessionCommand
impl TryFrom<Command> for SessionCommand
Source§impl TryFrom<Command> for SetCacheBehavior
impl TryFrom<Command> for SetCacheBehavior
Source§impl TryFrom<Command> for SetClientWindowState
impl TryFrom<Command> for SetClientWindowState
Source§impl TryFrom<Command> for SetDownloadBehavior
impl TryFrom<Command> for SetDownloadBehavior
Source§impl TryFrom<Command> for SetExtraHeaders
impl TryFrom<Command> for SetExtraHeaders
Source§impl TryFrom<Command> for SetGeolocationOverride
impl TryFrom<Command> for SetGeolocationOverride
Source§impl TryFrom<Command> for SetLocaleOverride
impl TryFrom<Command> for SetLocaleOverride
Source§impl TryFrom<Command> for SetNetworkConditions
impl TryFrom<Command> for SetNetworkConditions
Source§impl TryFrom<Command> for SetScriptingEnabled
impl TryFrom<Command> for SetScriptingEnabled
Source§impl TryFrom<Command> for SetTimezoneOverride
impl TryFrom<Command> for SetTimezoneOverride
Source§impl TryFrom<Command> for SetUserAgentOverride
impl TryFrom<Command> for SetUserAgentOverride
Source§impl TryFrom<Command> for SetViewport
impl TryFrom<Command> for SetViewport
Source§impl TryFrom<Command> for StorageCommand
impl TryFrom<Command> for StorageCommand
Source§impl TryFrom<Command> for TraverseHistory
impl TryFrom<Command> for TraverseHistory
Source§impl TryFrom<Command> for Unsubscribe
impl TryFrom<Command> for Unsubscribe
Source§impl TryFrom<Command> for WebExtensionCommand
impl TryFrom<Command> for WebExtensionCommand
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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