pub fn is_leader_for_date<'a>(
        &self,
        leader: &'a Leader,
        date: BlockDate,
    ) -> Result<LeaderOutput, Error> {
        self.inner.is_leader(leader, date)
    }
/// Test that the given leader object is able to create a valid block for the leadership
/// at a given date.
Test that the given leader object is able to create a valid block for the leadership
at a given date.
Test that the given leader object is able to create a valid block for the leadership at a given date .
pub fn is_leader_for_date<'a>(
        &self,
        leader: &'a Leader,
        date: BlockDate,
    ) -> Result<LeaderOutput, Error> {
        self.inner.is_leader(leader, date)
    }
pub fn is_leader_for_date < ' a > ( & self , leader : & ' a Leader , date : BlockDate , ) -> Result < LeaderOutput , Error > { self . inner . is_leader ( leader , date ) }
Test that the given leader object is able to create a valid block for the leadership
at a given date.
Test that the given leader object is able to create a valid block for the leadership at a given date .
&self
leader
&'a Leader
date
BlockDate
&self
leader
&'a Leader
date
BlockDate