/// Returns `true` if and only if a node is installing snapshot and should not do
/// anything else until the running snapshot installation completes.
/// This method should be used to determine the next state of a node.
///
/// The difference between `is_snapshot_installing` and `is_focusing_on_installing_snapshot` is
/// that a node can concurrently process multiple tasks while installing snapshot.
///
/// Calls `is_snapshot_installing` if you want to confirm whether another snapshot installation
/// is running or not.
Returns `true` if and only if a node is installing snapshot and should not do
anything else until the running snapshot installation completes.
This method should be used to determine the next state of a node.

The difference between `is_snapshot_installing` and `is_focusing_on_installing_snapshot` is
that a node can concurrently process multiple tasks while installing snapshot.

Calls `is_snapshot_installing` if you want to confirm whether another snapshot installation
is running or not.
Returns ` true ` if and only if a node is installing snapshot and should not do anything else until the running snapshot installation completes . This method should be used to determine the next state of a node . The difference between ` is_snapshot_installing ` and ` is_focusing_on_installing_snapshot ` is that a node can concurrently process multiple tasks while installing snapshot . Calls ` is_snapshot_installing ` if you want to confirm whether another snapshot installation is running or not .
pub fn is_focusing_on_installing_snapshot(&self) -> bool {
        if let Some(ref snapshot) = self.install_snapshot {
            // This condition is a bit complicated.
            // See https://github.com/frugalos/raftlog/pull/16#discussion_r250061583.
            return self.log().tail().index < snapshot.summary.tail.index;
        }
        false
    }
pub fn is_focusing_on_installing_snapshot ( & self ) -> bool { if let Some ( ref snapshot ) = self . install_snapshot { // This condition is a bit complicated. // See https://github.com/frugalos/raftlog/pull/16#discussion_r250061583. return self . log ( ) . tail ( ) . index < snapshot . summary . tail . index ; } false }
Returns `true` if and only if a node is installing snapshot and should not do
anything else until the running snapshot installation completes.
Returns ` true ` if and only if a node is installing snapshot and should not do anything else until the running snapshot installation completes .
&self