pub enum TabOpenResult {
OpenedNewTab {
tab_id: TabId,
},
OpenedExistingTab {
tab_id: TabId,
},
Denied,
Aborted,
}Expand description
Chromium-facing result emitted after backend applies tab-open response.
Variants§
Trait Implementations§
Source§impl Clone for TabOpenResult
impl Clone for TabOpenResult
Source§fn clone(&self) -> TabOpenResult
fn clone(&self) -> TabOpenResult
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 moreSource§impl Debug for TabOpenResult
impl Debug for TabOpenResult
Source§impl From<ChromeBrowsingContextOpenResult> for TabOpenResult
impl From<ChromeBrowsingContextOpenResult> for TabOpenResult
Source§fn from(value: ChromeBrowsingContextOpenResult) -> Self
fn from(value: ChromeBrowsingContextOpenResult) -> Self
Converts to this type from the input type.
Source§impl From<TabOpenResult> for ChromeBrowsingContextOpenResult
impl From<TabOpenResult> for ChromeBrowsingContextOpenResult
Source§fn from(value: TabOpenResult) -> Self
fn from(value: TabOpenResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TabOpenResult
impl PartialEq for TabOpenResult
impl Copy for TabOpenResult
impl Eq for TabOpenResult
impl StructuralPartialEq for TabOpenResult
Auto Trait Implementations§
impl Freeze for TabOpenResult
impl RefUnwindSafe for TabOpenResult
impl Send for TabOpenResult
impl Sync for TabOpenResult
impl Unpin for TabOpenResult
impl UnsafeUnpin for TabOpenResult
impl UnwindSafe for TabOpenResult
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