pub enum TransferState {
Pending,
InProgress {
bytes_sent: u64,
total_bytes: u64,
},
Completed,
Failed(String),
}Expand description
Transfer state.
Variants§
Implementations§
Source§impl TransferState
impl TransferState
Trait Implementations§
Source§impl Clone for TransferState
impl Clone for TransferState
Source§fn clone(&self) -> TransferState
fn clone(&self) -> TransferState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransferState
impl Debug for TransferState
Source§impl PartialEq for TransferState
impl PartialEq for TransferState
impl Eq for TransferState
impl StructuralPartialEq for TransferState
Auto Trait Implementations§
impl Freeze for TransferState
impl RefUnwindSafe for TransferState
impl Send for TransferState
impl Sync for TransferState
impl Unpin for TransferState
impl UnsafeUnpin for TransferState
impl UnwindSafe for TransferState
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