,
}
impl
{
/// Create new instance of `BizinikiwiEquivocationTarget`.
pub fn new(client: TargetClnt) -> Self {
Self { client, _phantom: Default::default() }
}
}
impl
{
fn clone(&self) -> Self {
Self { client: self.client.clone(), _phantom: Default::default() }
}
}
#[async_trait]
impl
{
type Error = Error;
async fn reconnect(&mut self) -> Result<(), Error> {
self.client.reconnect().await
}
}
#[async_trait]
impl
{
async fn best_finalized_header_number(
&self,
) -> Result