pub struct DaemonRef<T: ?Sized> { /* private fields */ }Expand description
A DaemonRef`` is like an std::sync::Arc`, except:
- It does not generate any cross-processor synchronization traffic except at construction and drop.
- It cannot be cloned
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for DaemonRef<T>where
T: ?Sized,
impl<T> RefUnwindSafe for DaemonRef<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for DaemonRef<T>
impl<T> Sync for DaemonRef<T>
impl<T> Unpin for DaemonRef<T>where
T: ?Sized,
impl<T> UnwindSafe for DaemonRef<T>where
T: RefUnwindSafe + ?Sized,
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
Source§impl<T, A> DynAccess<T> for A
impl<T, A> DynAccess<T> for A
Source§fn load(&self) -> DynGuard<T>
fn load(&self) -> DynGuard<T>
The equivalent of
Access::load.