pub enum InteractionStreamState {
Reserved,
Attached,
Completed,
Expired,
ClosedEarly,
}Expand description
Typed lifecycle state of an interaction stream reservation (U6 / dogma #5).
Owns whether a reserved subscriber/stream channel is still claimable
(Reserved), live with an attached consumer (Attached), or terminal
(Completed after a terminal event won, Expired after the TTL elapsed
without an attach, ClosedEarly after the consumer dropped the stream
before terminal). Mirror of meerkat_core::InteractionStreamState.
Variants§
Trait Implementations§
Source§impl Clone for InteractionStreamState
impl Clone for InteractionStreamState
Source§fn clone(&self) -> InteractionStreamState
fn clone(&self) -> InteractionStreamState
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 moreimpl Copy for InteractionStreamState
Source§impl Debug for InteractionStreamState
impl Debug for InteractionStreamState
Source§impl Default for InteractionStreamState
impl Default for InteractionStreamState
Source§fn default() -> InteractionStreamState
fn default() -> InteractionStreamState
Returns the “default value” for a type. Read more
impl Eq for InteractionStreamState
Source§impl From<InteractionStreamState> for InteractionStreamState
impl From<InteractionStreamState> for InteractionStreamState
Source§fn from(s: InteractionStreamState) -> Self
fn from(s: InteractionStreamState) -> Self
Converts to this type from the input type.
Source§impl From<InteractionStreamState> for InteractionStreamState
impl From<InteractionStreamState> for InteractionStreamState
Source§fn from(s: InteractionStreamState) -> Self
fn from(s: InteractionStreamState) -> Self
Converts to this type from the input type.
Source§impl Hash for InteractionStreamState
impl Hash for InteractionStreamState
Source§impl Ord for InteractionStreamState
impl Ord for InteractionStreamState
Source§fn cmp(&self, other: &InteractionStreamState) -> Ordering
fn cmp(&self, other: &InteractionStreamState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InteractionStreamState
impl PartialEq for InteractionStreamState
Source§fn eq(&self, other: &InteractionStreamState) -> bool
fn eq(&self, other: &InteractionStreamState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for InteractionStreamState
impl PartialOrd for InteractionStreamState
impl StructuralPartialEq for InteractionStreamState
Auto Trait Implementations§
impl Freeze for InteractionStreamState
impl RefUnwindSafe for InteractionStreamState
impl Send for InteractionStreamState
impl Sync for InteractionStreamState
impl Unpin for InteractionStreamState
impl UnsafeUnpin for InteractionStreamState
impl UnwindSafe for InteractionStreamState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.