pub struct TickResult {
pub should_start_election: bool,
pub should_send_heartbeats: bool,
pub failed_nodes: Vec<NodeId>,
pub applied_count: usize,
}Expand description
Result of a tick operation.
Fields§
§should_start_election: bool§should_send_heartbeats: bool§failed_nodes: Vec<NodeId>§applied_count: usizeTrait Implementations§
Source§impl Debug for TickResult
impl Debug for TickResult
Source§impl Default for TickResult
impl Default for TickResult
Source§fn default() -> TickResult
fn default() -> TickResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TickResult
impl RefUnwindSafe for TickResult
impl Send for TickResult
impl Sync for TickResult
impl Unpin for TickResult
impl UnsafeUnpin for TickResult
impl UnwindSafe for TickResult
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