pub struct SignalId(/* private fields */);Expand description
The identity of a signal, shared by the server and the browser runtime.
An id is derived from the identity of the component body that created
the signal and the location of the signal call inside it, so the same
call reached through the same chain of invocations produces the same id
on every render. On the wire it is the hash as fixed-width hex, which
survives JSON where a 128 bit integer would not.
Trait Implementations§
impl Copy for SignalId
Source§impl<'de> Deserialize<'de> for SignalId
impl<'de> Deserialize<'de> for SignalId
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SignalId
impl StructuralPartialEq for SignalId
Auto Trait Implementations§
impl Freeze for SignalId
impl RefUnwindSafe for SignalId
impl Send for SignalId
impl Sync for SignalId
impl Unpin for SignalId
impl UnsafeUnpin for SignalId
impl UnwindSafe for SignalId
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