mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 05:16:28 +03:00
improve docs
This commit is contained in:
@@ -247,8 +247,9 @@ impl BackupProvider {
|
|||||||
|
|
||||||
/// Awaits the [`BackupProvider`] until it is finished.
|
/// Awaits the [`BackupProvider`] until it is finished.
|
||||||
///
|
///
|
||||||
/// This waits until someone connected to the sender and transferred a backup. If the
|
/// This waits until someone connected to the sender and finished transferring a backup.
|
||||||
/// [`BackupProvider`] task results in an error it will be returned here.
|
/// A failed transfer also counts as a finished transfer. If the [`BackupProvider`]
|
||||||
|
/// task results in an error it will be returned here.
|
||||||
pub async fn join(self) -> Result<()> {
|
pub async fn join(self) -> Result<()> {
|
||||||
self.handle.await??;
|
self.handle.await??;
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|||||||
Reference in New Issue
Block a user