Enum chromiumoxide::handler::target::TargetMessage
source · pub enum TargetMessage {
Command(CommandMessage),
MainFrame(Sender<Option<FrameId>>),
AllFrames(Sender<Vec<FrameId>>),
Url(GetUrl),
Name(GetName),
Parent(GetParent),
WaitForNavigation(Sender<ArcHttpRequest>),
AddEventListener(EventListenerRequest),
GetExecutionContext(GetExecutionContext),
}
Variants§
Command(CommandMessage)
Execute a command within the session of this target
MainFrame(Sender<Option<FrameId>>)
Return the main frame of this target’s page
AllFrames(Sender<Vec<FrameId>>)
Return all the frames of this target’s page
Url(GetUrl)
Return the url if available
Name(GetName)
Return the name if available
Parent(GetParent)
Return the parent id of a frame
A Message that resolves when the frame finished loading a new url
AddEventListener(EventListenerRequest)
A request to submit a new listener that gets notified with every received event
GetExecutionContext(GetExecutionContext)
Get the ExecutionContext
if available
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TargetMessage
impl !RefUnwindSafe for TargetMessage
impl Send for TargetMessage
impl !Sync for TargetMessage
impl Unpin for TargetMessage
impl !UnwindSafe for TargetMessage
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