pub fn send_directory<S>(
send: &mut S,
root_path: &Path,
files: &[FileSendRecvTree],
write_callback: &mut impl FnMut(u64),
should_continue: &mut impl FnMut() -> bool,
) -> Result<bool>Expand description
ยงReturns
Ok(true)if the transfer should continueOk(false)if the transfer should stop