Function tokio_etcd_lock::try_race

source ·
pub async fn try_race(
    client: &mut Client,
    key: &str,
    ttl_or_lease_id: TtlOrLeaseId
) -> Result<bool, Error>