pub struct Local<T: Send + 'static>(/* private fields */);Expand description
Represents a local object in the current process userspace.
A Local can be used to send any T: Send + 'static type to another local process.
Implementations§
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Local<T>where
T: Send + 'static,
impl<'de, T> Deserialize<'de> for Local<T>where
T: Send + 'static,
Source§fn deserialize<D>(_: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(_: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<T: Copy + Send + 'static> Copy for Local<T>
Auto Trait Implementations§
impl<T> Freeze for Local<T>where
T: Freeze,
impl<T> RefUnwindSafe for Local<T>where
T: RefUnwindSafe,
impl<T> Send for Local<T>
impl<T> Sync for Local<T>where
T: Sync,
impl<T> Unpin for Local<T>where
T: Unpin,
impl<T> UnwindSafe for Local<T>where
T: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.