pub struct SendShmContext(pub Arc<Mutex<Option<Arc<ShmContext>>>>);Expand description
Send+Sync wrapper for mechutil’s SHM context handle.
Tuple Fields§
§0: Arc<Mutex<Option<Arc<ShmContext>>>>Trait Implementations§
Source§impl Clone for SendShmContext
impl Clone for SendShmContext
Source§fn clone(&self) -> SendShmContext
fn clone(&self) -> SendShmContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Send for SendShmContext
impl Sync for SendShmContext
Auto Trait Implementations§
impl Freeze for SendShmContext
impl !RefUnwindSafe for SendShmContext
impl Unpin for SendShmContext
impl UnsafeUnpin for SendShmContext
impl !UnwindSafe for SendShmContext
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