src/client/pxar_backup_stream.rs: fix docu
This commit is contained in:
parent
82ab72304e
commit
97f03eff13
|
@ -19,8 +19,6 @@ use crate::tools::wrapped_reader_stream::WrappedReaderStream;
|
||||||
/// The hyper client needs an async Stream for file upload, so we
|
/// The hyper client needs an async Stream for file upload, so we
|
||||||
/// spawn an extra thread to encode the .pxar data and pipe it to the
|
/// spawn an extra thread to encode the .pxar data and pipe it to the
|
||||||
/// consumer.
|
/// consumer.
|
||||||
///
|
|
||||||
/// Note: The currect implementation is not fully ansync and can block.
|
|
||||||
pub struct PxarBackupStream {
|
pub struct PxarBackupStream {
|
||||||
stream: Option<WrappedReaderStream<std::fs::File>>,
|
stream: Option<WrappedReaderStream<std::fs::File>>,
|
||||||
child: Option<thread::JoinHandle<()>>,
|
child: Option<thread::JoinHandle<()>>,
|
||||||
|
|
Loading…
Reference in New Issue