#[repr(C)]pub struct IPCData { /* private fields */ }
Expand description
Manages communication between the Shadow process and the shim library running inside Shadow managed threads.
Implementations§
source§impl IPCData
impl IPCData
pub fn new() -> Self
sourcepub fn to_plugin(&self) -> &SelfContainedChannel<ShimEventToShim>
pub fn to_plugin(&self) -> &SelfContainedChannel<ShimEventToShim>
Returns a reference to the “Shadow to Plugin” channel.
sourcepub fn to_shadow(&self) -> &SelfContainedChannel<ShimEventToShadow>
pub fn to_shadow(&self) -> &SelfContainedChannel<ShimEventToShadow>
Returns a reference to the “Plugin to Shadow” channel.
sourcepub fn from_plugin(&self) -> &SelfContainedChannel<ShimEventToShadow>
pub fn from_plugin(&self) -> &SelfContainedChannel<ShimEventToShadow>
Returns a reference to the “Plugin to Shadow” channel.
sourcepub fn from_shadow(&self) -> &SelfContainedChannel<ShimEventToShim>
pub fn from_shadow(&self) -> &SelfContainedChannel<ShimEventToShim>
Returns a reference to the “Shadow to Plugin” channel.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for IPCData
impl !RefUnwindSafe for IPCData
impl Send for IPCData
impl Sync for IPCData
impl Unpin for IPCData
impl UnwindSafe for IPCData
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