pub struct ADBSync { /* private fields */ }
Expand description
Sync a local build from $ANDROID_PRODUCT_OUT to the device
Implementations§
Source§impl ADBSync
impl ADBSync
pub fn new(location: SyncLocation) -> Self
Sourcepub fn compression(self, algorithm: CompressionAlgorithm) -> Self
pub fn compression(self, algorithm: CompressionAlgorithm) -> Self
Enable compression with the specified algorithm
Sourcepub fn no_compression(self) -> Self
pub fn no_compression(self) -> Self
Disable compression
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ADBSync
impl !RefUnwindSafe for ADBSync
impl Send for ADBSync
impl Sync for ADBSync
impl Unpin for ADBSync
impl !UnwindSafe for ADBSync
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