pub struct ValueMessage<'a, T> { /* private fields */ }Expand description
Print a single value result of a computation to the user.
In JSON mode, this will emit like this:
{"name":value}In text mode, name is omitted.
Implementations§
Trait Implementations§
Source§impl<T> Message for ValueMessage<'_, T>
impl<T> Message for ValueMessage<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for ValueMessage<'a, T>
impl<'a, T> RefUnwindSafe for ValueMessage<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for ValueMessage<'a, T>where
T: Sync,
impl<'a, T> Sync for ValueMessage<'a, T>where
T: Sync,
impl<'a, T> Unpin for ValueMessage<'a, T>
impl<'a, T> UnwindSafe for ValueMessage<'a, T>where
T: RefUnwindSafe,
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