#![allow(dead_code)]
use super::*;
#[allow(unused_variables, unused_mut)]
pub async fn send_file<F, N, H>(
mut wormhole: Wormhole,
relay_hints: Vec<transit::RelayHint>,
file: &mut F,
file_path: N,
file_name: String,
progress_handler: H,
peer_version: AppVersion,
) -> Result<(), TransferError>
where
F: AsyncRead + Unpin,
N: Into<PathBuf>,
H: FnMut(u64, u64) + 'static,
{
Ok(())
}
#[allow(unused_variables)]
pub async fn send_folder<N, M, H>(
wormhole: Wormhole,
relay_hints: Vec<transit::RelayHint>,
folder_path: N,
folder_name: M,
progress_handler: H,
) -> Result<(), TransferError>
where
N: Into<PathBuf>,
M: Into<PathBuf>,
H: FnMut(u64, u64) + 'static,
{
unimplemented!()
}