pub enum ChromeEvent {
Ipc(Box<IpcEvent>),
BackendReady,
BackendStopped {
reason: ChromeBackendStopReason,
},
BackendError {
info: ChromeBackendErrorInfo,
terminal_hint: bool,
},
ProfilesListed {
profiles: Vec<ChromeProfileInfo>,
},
}Expand description
Chromium-specific raw event stream payload.
Variants§
Ipc(Box<IpcEvent>)
Raw IPC event from the bridge.
BackendReady
Backend connected and ready.
BackendStopped
Backend stopped with a reason.
Fields
§
reason: ChromeBackendStopReasonBackendError
Backend error surfaced from command/event processing.
ProfilesListed
Profile list obtained through backend-side request/response path.
Fields
§
profiles: Vec<ChromeProfileInfo>Trait Implementations§
Source§impl Clone for ChromeEvent
impl Clone for ChromeEvent
Source§fn clone(&self) -> ChromeEvent
fn clone(&self) -> ChromeEvent
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 moreAuto Trait Implementations§
impl Freeze for ChromeEvent
impl RefUnwindSafe for ChromeEvent
impl Send for ChromeEvent
impl Sync for ChromeEvent
impl Unpin for ChromeEvent
impl UnsafeUnpin for ChromeEvent
impl UnwindSafe for ChromeEvent
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