pub(crate) async fn publish_native_announcement_attempt<F, Fut>(
announcement: Result<ServiceAnnouncement>,
announce_tx: Option<Arc<Mutex<Option<Sender<Result<(), String>>>>>>,
publish: F,
) -> Result<()>Expand description
The required first result covers both fresh-authority projection and the Discovery publication. An authority error must not bypass the handshake.