pub trait IpcCapable<'a, T>: Sized + IpcConstructible<'a, T>
where T: Handle,
{ // Required method fn is_interprocess_capable(&self) -> bool; // Provided method unsafe fn from_ipc_handle(handle: &'a T) -> Self { ... } }
Expand description

Represents struct that can be configured for inter-process use.

Required Methods§

source

fn is_interprocess_capable(&self) -> bool

Returns true if the object is interprocess capable, otherwise false

Provided Methods§

source

unsafe fn from_ipc_handle(handle: &'a T) -> Self

Creates an IPC Capable object from its handle.

§Safety

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a> IpcCapable<'a, BarrierHandle> for Barrier<'a>

source§

impl<'a> IpcCapable<'a, UnnamedSemaphoreHandle> for UnnamedSemaphore<'a>

source§

impl<'a, T> IpcCapable<'a, ReadWriteMutexHandle<T>> for ReadWriteMutex<'a, T>
where T: Debug,

source§

impl<'a, T> IpcCapable<'a, MutexHandle<T>> for Mutex<'a, T>
where T: Debug,