#[repr(transparent)]pub struct BackgroundTransferStatus(pub i32);
Expand description
Required features: "Networking_BackgroundTransfer"
Tuple Fields
0: i32
Implementations
impl BackgroundTransferStatus
impl BackgroundTransferStatus
pub const Idle: Self = Self(0i32)
pub const Running: Self = Self(1i32)
pub const PausedByApplication: Self = Self(2i32)
pub const PausedCostedNetwork: Self = Self(3i32)
pub const PausedNoNetwork: Self = Self(4i32)
pub const Completed: Self = Self(5i32)
pub const Canceled: Self = Self(6i32)
pub const Error: Self = Self(7i32)
pub const PausedRecoverableWebErrorStatus: Self = Self(8i32)
pub const PausedSystemPolicy: Self = Self(32i32)
Trait Implementations
impl Clone for BackgroundTransferStatus
impl Clone for BackgroundTransferStatus
impl Copy for BackgroundTransferStatus
Auto Trait Implementations
impl RefUnwindSafe for BackgroundTransferStatus
impl Send for BackgroundTransferStatus
impl Sync for BackgroundTransferStatus
impl Unpin for BackgroundTransferStatus
impl UnwindSafe for BackgroundTransferStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more