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