Struct ipc_channel::ipc::IpcMessage
source · pub struct IpcMessage {
pub(crate) data: Vec<u8>,
pub(crate) os_ipc_channels: Vec<OsOpaqueIpcChannel>,
pub(crate) os_ipc_shared_memory_regions: Vec<OsIpcSharedMemory>,
}
Expand description
Fields§
§data: Vec<u8>
§os_ipc_channels: Vec<OsOpaqueIpcChannel>
Implementations§
source§impl IpcMessage
impl IpcMessage
sourcepub fn from_data(data: Vec<u8>) -> Self
pub fn from_data(data: Vec<u8>) -> Self
Create a new IpcMessage
with data and without any OsOpaqueIpcChannel
s and
OsIpcSharedMemory
regions.
source§impl IpcMessage
impl IpcMessage
pub(crate) fn new( data: Vec<u8>, os_ipc_channels: Vec<OsOpaqueIpcChannel>, os_ipc_shared_memory_regions: Vec<OsIpcSharedMemory>, ) -> IpcMessage
Trait Implementations§
source§impl Debug for IpcMessage
impl Debug for IpcMessage
source§impl PartialEq for IpcMessage
impl PartialEq for IpcMessage
source§fn eq(&self, other: &IpcMessage) -> bool
fn eq(&self, other: &IpcMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IpcMessage
Auto Trait Implementations§
impl Freeze for IpcMessage
impl RefUnwindSafe for IpcMessage
impl Send for IpcMessage
impl Sync for IpcMessage
impl Unpin for IpcMessage
impl UnwindSafe for IpcMessage
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