pub enum ServerPush {
ObserverProgressed {
conversation_id: ConversationId,
refused_epoch: ObserverEpoch,
observer_progress: DeliverySeq,
},
ParticipantDelivery(ParticipantDelivery),
}Expand description
Exhaustive pushed participant control/value.
Variants§
ObserverProgressed
Observer progress wake (0x0200).
Fields
§
conversation_id: ConversationIdConversation whose observer advanced.
§
refused_epoch: ObserverEpochRefusal epoch the progress may wake.
§
observer_progress: DeliverySeqCurrent observer progress.
ParticipantDelivery(ParticipantDelivery)
Participant record delivery (0x0201).
Implementations§
Source§impl ServerPush
impl ServerPush
Sourcepub const fn discriminant(&self) -> PushDiscriminant
pub const fn discriminant(&self) -> PushDiscriminant
Returns the stable push discriminant.
Trait Implementations§
Source§impl Clone for ServerPush
impl Clone for ServerPush
Source§fn clone(&self) -> ServerPush
fn clone(&self) -> ServerPush
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 ServerPush
impl Debug for ServerPush
impl Eq for ServerPush
Source§impl PartialEq for ServerPush
impl PartialEq for ServerPush
impl StructuralPartialEq for ServerPush
Auto Trait Implementations§
impl Freeze for ServerPush
impl RefUnwindSafe for ServerPush
impl Send for ServerPush
impl Sync for ServerPush
impl Unpin for ServerPush
impl UnsafeUnpin for ServerPush
impl UnwindSafe for ServerPush
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