pub enum LifecycleEventKind {
Transition {
from: Option<LifecycleState>,
to: LifecycleState,
},
CapabilityDenied(CapabilityDenied),
FragmentContentUpdated {
key: FragmentKey,
},
}Expand description
The typed payload carried by one lifecycle stream item.
Variants§
Transition
One component lifecycle transition.
Fields
§
from: Option<LifecycleState>State before this transition, absent for initial registration.
§
to: LifecycleStateState after this transition.
CapabilityDenied(CapabilityDenied)
One consuming act was denied by the fresh capability check.
FragmentContentUpdated
One committed live fragment content update (F-5a R2/R3). The stream carries the news, never the bytes: the registry’s fragment snapshot stays the authority, and a consumer that misses this event converges through its next lag-forced resync.
Fields
§
key: FragmentKeyThe updated fragment.
Trait Implementations§
Source§impl Clone for LifecycleEventKind
impl Clone for LifecycleEventKind
Source§fn clone(&self) -> LifecycleEventKind
fn clone(&self) -> LifecycleEventKind
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 LifecycleEventKind
impl Debug for LifecycleEventKind
Source§impl<'de> Deserialize<'de> for LifecycleEventKind
impl<'de> Deserialize<'de> for LifecycleEventKind
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 LifecycleEventKind
Source§impl PartialEq for LifecycleEventKind
impl PartialEq for LifecycleEventKind
Source§impl Serialize for LifecycleEventKind
impl Serialize for LifecycleEventKind
impl StructuralPartialEq for LifecycleEventKind
Auto Trait Implementations§
impl Freeze for LifecycleEventKind
impl RefUnwindSafe for LifecycleEventKind
impl Send for LifecycleEventKind
impl Sync for LifecycleEventKind
impl Unpin for LifecycleEventKind
impl UnsafeUnpin for LifecycleEventKind
impl UnwindSafe for LifecycleEventKind
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,
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§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.