pub enum TabIpcPayload {
Text(String),
Binary(Vec<u8>),
}Expand description
Chromium-facing IPC payload.
Variants§
Trait Implementations§
Source§impl Clone for TabIpcPayload
impl Clone for TabIpcPayload
Source§fn clone(&self) -> TabIpcPayload
fn clone(&self) -> TabIpcPayload
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 TabIpcPayload
impl Debug for TabIpcPayload
Source§impl From<IpcPayload> for TabIpcPayload
impl From<IpcPayload> for TabIpcPayload
Source§fn from(value: IpcPayload) -> Self
fn from(value: IpcPayload) -> Self
Converts to this type from the input type.
Source§impl From<TabIpcPayload> for IpcPayload
impl From<TabIpcPayload> for IpcPayload
Source§fn from(value: TabIpcPayload) -> Self
fn from(value: TabIpcPayload) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TabIpcPayload
impl PartialEq for TabIpcPayload
impl Eq for TabIpcPayload
impl StructuralPartialEq for TabIpcPayload
Auto Trait Implementations§
impl Freeze for TabIpcPayload
impl RefUnwindSafe for TabIpcPayload
impl Send for TabIpcPayload
impl Sync for TabIpcPayload
impl Unpin for TabIpcPayload
impl UnsafeUnpin for TabIpcPayload
impl UnwindSafe for TabIpcPayload
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.