Trait IpcCapable

Source
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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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,