pub struct TabIpcMessage {
pub channel: String,
pub message_type: TabIpcMessageType,
pub request_id: u64,
pub payload: TabIpcPayload,
pub content_type: Option<String>,
pub error_code: Option<TabIpcErrorCode>,
}Expand description
Chromium-facing tab IPC message envelope.
Fields§
§channel: String§message_type: TabIpcMessageType§request_id: u64§payload: TabIpcPayload§content_type: Option<String>§error_code: Option<TabIpcErrorCode>Trait Implementations§
Source§impl Clone for TabIpcMessage
impl Clone for TabIpcMessage
Source§fn clone(&self) -> TabIpcMessage
fn clone(&self) -> TabIpcMessage
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 TabIpcMessage
impl Debug for TabIpcMessage
Source§impl From<BrowsingContextIpcMessage> for TabIpcMessage
impl From<BrowsingContextIpcMessage> for TabIpcMessage
Source§fn from(value: BrowsingContextIpcMessage) -> Self
fn from(value: BrowsingContextIpcMessage) -> Self
Converts to this type from the input type.
Source§impl From<TabIpcMessage> for BrowsingContextIpcMessage
impl From<TabIpcMessage> for BrowsingContextIpcMessage
Source§fn from(value: TabIpcMessage) -> Self
fn from(value: TabIpcMessage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TabIpcMessage
impl PartialEq for TabIpcMessage
impl Eq for TabIpcMessage
impl StructuralPartialEq for TabIpcMessage
Auto Trait Implementations§
impl Freeze for TabIpcMessage
impl RefUnwindSafe for TabIpcMessage
impl Send for TabIpcMessage
impl Sync for TabIpcMessage
impl Unpin for TabIpcMessage
impl UnsafeUnpin for TabIpcMessage
impl UnwindSafe for TabIpcMessage
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.