pub struct SharedUnloadableConversations { /* private fields */ }Expand description
The read side the health endpoint serves from.
The health server binds BEFORE the participant handler exists — liveness
has to be answerable during startup — so the endpoint holds this slot from
the moment it starts and the participant’s record is published into it once
built. Until that happens the surface says so through
UnloadableConversationsStatus::participant_installed rather than
reporting a zero that means nothing.
Implementations§
Sourcepub fn install(&self, record: UnloadableConversationRecord)
pub fn install(&self, record: UnloadableConversationRecord)
Publishes a participant’s record into the surface, replacing any record installed before it.
Sourcepub fn status(&self) -> UnloadableConversationsStatus
pub fn status(&self) -> UnloadableConversationsStatus
The surface’s current answer.
Trait Implementations§
Source§fn clone(&self) -> SharedUnloadableConversations
fn clone(&self) -> SharedUnloadableConversations
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§fn default() -> SharedUnloadableConversations
fn default() -> SharedUnloadableConversations
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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