pub struct MutexHandle { /* private fields */ }
Expand description
A handle to a Mutex
that exists in shared memory.
This can be sent over any medium capable of transmitting OS resources (e.g. MessageChannel
). To reconstitute a working Mutex
,
a reference to the SharedMem
holding it must be transmitted as well.
Trait Implementations§
Source§impl Debug for MutexHandle
impl Debug for MutexHandle
Source§impl<'de> Deserialize<'de> for MutexHandle
impl<'de> Deserialize<'de> for MutexHandle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MutexHandle
impl RefUnwindSafe for MutexHandle
impl Send for MutexHandle
impl Sync for MutexHandle
impl Unpin for MutexHandle
impl UnwindSafe for MutexHandle
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