pub struct TransferEngine { /* private fields */ }Implementations§
Source§impl TransferEngine
impl TransferEngine
pub fn new( source: Operator, destination: Operator, config: TransferConfig, ) -> Result<Self>
pub fn subscribe(&self) -> Receiver<TransferProgress>
pub async fn run( &mut self, cancellation: &CancellationToken, ) -> Result<TransferProgress>
pub async fn run_with_report( &mut self, cancellation: &CancellationToken, path: &Path, ) -> Result<TransferProgress>
Auto Trait Implementations§
impl !RefUnwindSafe for TransferEngine
impl !UnwindSafe for TransferEngine
impl Freeze for TransferEngine
impl Send for TransferEngine
impl Sync for TransferEngine
impl Unpin for TransferEngine
impl UnsafeUnpin for TransferEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more