pub enum RealtimeAttachmentStatus {
Unattached,
IntentPresentUnbound,
BindingNotReady,
BindingReady,
ReplacementPending,
ReattachRequired,
}Variants§
Implementations§
Source§impl RealtimeAttachmentStatus
impl RealtimeAttachmentStatus
Sourcepub fn to_channel_status(
self,
reconnect: Option<&ReconnectProgress>,
) -> RealtimeChannelStatus
pub fn to_channel_status( self, reconnect: Option<&ReconnectProgress>, ) -> RealtimeChannelStatus
Canonical projection, reconnect-progress-aware variant. Active
reconnect progress is read from machine state and passed as
Some(progress); reconnecting statuses without an active machine-owned
cycle report zero attempts and no retry deadline.
Trait Implementations§
Source§impl Clone for RealtimeAttachmentStatus
impl Clone for RealtimeAttachmentStatus
Source§fn clone(&self) -> RealtimeAttachmentStatus
fn clone(&self) -> RealtimeAttachmentStatus
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 RealtimeAttachmentStatus
impl Debug for RealtimeAttachmentStatus
Source§impl<'de> Deserialize<'de> for RealtimeAttachmentStatus
impl<'de> Deserialize<'de> for RealtimeAttachmentStatus
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 From<RealtimeAttachmentStatus> for RealtimeChannelStatus
impl From<RealtimeAttachmentStatus> for RealtimeChannelStatus
Source§fn from(status: RealtimeAttachmentStatus) -> Self
fn from(status: RealtimeAttachmentStatus) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RealtimeAttachmentStatus
impl PartialEq for RealtimeAttachmentStatus
Source§fn eq(&self, other: &RealtimeAttachmentStatus) -> bool
fn eq(&self, other: &RealtimeAttachmentStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RealtimeAttachmentStatus
impl Serialize for RealtimeAttachmentStatus
impl Copy for RealtimeAttachmentStatus
impl Eq for RealtimeAttachmentStatus
impl StructuralPartialEq for RealtimeAttachmentStatus
Auto Trait Implementations§
impl Freeze for RealtimeAttachmentStatus
impl RefUnwindSafe for RealtimeAttachmentStatus
impl Send for RealtimeAttachmentStatus
impl Sync for RealtimeAttachmentStatus
impl Unpin for RealtimeAttachmentStatus
impl UnsafeUnpin for RealtimeAttachmentStatus
impl UnwindSafe for RealtimeAttachmentStatus
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> 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.