pub struct Value<T>(pub T);
Tuple Fields
0: T
Trait Implementations
sourceimpl<T> ForwardChannel for Value<T> where
T: Send + 'static,
T: Serialize + for<'de> Deserialize<'de>,
impl<T> ForwardChannel for Value<T> where
T: Send + 'static,
T: Serialize + for<'de> Deserialize<'de>,
fn forward_to(self, sender1: OpaqueSender, _receiver1: OpaqueReceiver)
fn forward_from(_sender1: OpaqueSender, receiver1: OpaqueReceiver) -> Self
Auto Trait Implementations
impl<T> RefUnwindSafe for Value<T> where
T: RefUnwindSafe,
impl<T> Send for Value<T> where
T: Send,
impl<T> Sync for Value<T> where
T: Sync,
impl<T> Unpin for Value<T> where
T: Unpin,
impl<T> UnwindSafe for Value<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more