pub enum HeartbeatType {
Full,
Compact,
}
Variants§
Full
A full heartbeat contains information in all data structures
Compact
A compact heartbeat contains a minimal amount of information, indicating that information is unchanged compared to the previous heartbeat.
Trait Implementations§
Source§impl Clone for HeartbeatType
impl Clone for HeartbeatType
Source§fn clone(&self) -> HeartbeatType
fn clone(&self) -> HeartbeatType
Returns a copy of the value. Read more
1.0.0 · 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 HeartbeatType
impl Debug for HeartbeatType
Source§impl<'de> Deserialize<'de> for HeartbeatType
impl<'de> Deserialize<'de> for HeartbeatType
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 PartialEq for HeartbeatType
impl PartialEq for HeartbeatType
Source§impl Serialize for HeartbeatType
impl Serialize for HeartbeatType
impl StructuralPartialEq for HeartbeatType
Auto Trait Implementations§
impl Freeze for HeartbeatType
impl RefUnwindSafe for HeartbeatType
impl Send for HeartbeatType
impl Sync for HeartbeatType
impl Unpin for HeartbeatType
impl UnwindSafe for HeartbeatType
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