pub enum RuntimeRoom {
Run(RunId),
Session(Uuid),
Provider(ProviderId),
}Expand description
Fanout routing key, inspired by a Socket.IO room but transport-neutral.
A room expresses where an event should be live-fanned-out; it carries no
authorization semantics. A transport/service layer must authorize
subscriptions before they reach RuntimeRoom.
Variants§
Run(RunId)
All events for a specific run.
Session(Uuid)
All events for a specific session.
Provider(ProviderId)
All events for a specific provider.
Trait Implementations§
Source§impl Clone for RuntimeRoom
impl Clone for RuntimeRoom
Source§fn clone(&self) -> RuntimeRoom
fn clone(&self) -> RuntimeRoom
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeRoom
impl Debug for RuntimeRoom
Source§impl<'de> Deserialize<'de> for RuntimeRoom
impl<'de> Deserialize<'de> for RuntimeRoom
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
Source§impl Display for RuntimeRoom
impl Display for RuntimeRoom
impl Eq for RuntimeRoom
Source§impl Hash for RuntimeRoom
impl Hash for RuntimeRoom
Source§impl PartialEq for RuntimeRoom
impl PartialEq for RuntimeRoom
Source§fn eq(&self, other: &RuntimeRoom) -> bool
fn eq(&self, other: &RuntimeRoom) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeRoom
impl Serialize for RuntimeRoom
impl StructuralPartialEq for RuntimeRoom
Auto Trait Implementations§
impl Freeze for RuntimeRoom
impl RefUnwindSafe for RuntimeRoom
impl Send for RuntimeRoom
impl Sync for RuntimeRoom
impl Unpin for RuntimeRoom
impl UnsafeUnpin for RuntimeRoom
impl UnwindSafe for RuntimeRoom
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.