pub struct SignalValues(/* private fields */);Expand description
The current values of signals a client sends along with a run, keyed by signal id.
Registered on the request context of a run that resumes state, such as
a shard re-render: signal picks up the value stored under its id
instead of computing a fresh one. The values are chosen by the client,
so a value that does not fit the signal’s type is ignored.
Trait Implementations§
Source§impl Debug for SignalValues
impl Debug for SignalValues
Source§impl Default for SignalValues
impl Default for SignalValues
Source§fn default() -> SignalValues
fn default() -> SignalValues
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SignalValues
impl<'de> Deserialize<'de> for SignalValues
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SignalValues
impl RefUnwindSafe for SignalValues
impl Send for SignalValues
impl Sync for SignalValues
impl Unpin for SignalValues
impl UnsafeUnpin for SignalValues
impl UnwindSafe for SignalValues
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