pub struct SignalEnqueued {
pub id: SignalId,
pub kind: SignalKind,
pub from: String,
pub room: Address,
pub room_version: Version,
pub payload: Payload,
pub at: TimeMs,
pub lane: Option<Lane>,
}Expand description
signal_enqueued: the signal itself, and the line it waits in.
collab::Signal writes it and reads it back; the queue rebuilt after
a restart and every view of what is waiting read the same struct, so
the seven keys have one spelling.
Fields§
§id: SignalId§kind: SignalKind§from: String§room: Address§room_version: Version§payload: Payload§at: TimeMs§lane: Option<Lane>Written for a reader outside collab and never trusted on the way
back: the lane is derived from kind, and reading a stored copy
would let a line say which lane it took while the derivation says
another. Absent on a line written before the key existed.
Trait Implementations§
Source§impl Clone for SignalEnqueued
impl Clone for SignalEnqueued
Source§impl Debug for SignalEnqueued
impl Debug for SignalEnqueued
Source§impl<'de> Deserialize<'de> for SignalEnqueued
impl<'de> Deserialize<'de> for SignalEnqueued
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
impl Eq for SignalEnqueued
Source§impl PartialEq for SignalEnqueued
impl PartialEq for SignalEnqueued
Source§impl Serialize for SignalEnqueued
impl Serialize for SignalEnqueued
impl StructuralPartialEq for SignalEnqueued
Auto Trait Implementations§
impl Freeze for SignalEnqueued
impl RefUnwindSafe for SignalEnqueued
impl Send for SignalEnqueued
impl Sync for SignalEnqueued
impl Unpin for SignalEnqueued
impl UnsafeUnpin for SignalEnqueued
impl UnwindSafe for SignalEnqueued
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