pub enum UploadCompletion {
Stored,
Retired,
}Expand description
What an upload’s completion did (§17.3, §17.9).
Variants§
Stored
Its bytes are stored for the files waiting for them, which switch to the cloud with the rest of their move.
Retired
No file waited for its bytes any more, its move having failed or been cancelled while it was sent: it retired, storing no file.
Trait Implementations§
Source§impl Clone for UploadCompletion
impl Clone for UploadCompletion
Source§fn clone(&self) -> UploadCompletion
fn clone(&self) -> UploadCompletion
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 UploadCompletion
impl Debug for UploadCompletion
Source§impl PartialEq for UploadCompletion
impl PartialEq for UploadCompletion
impl Copy for UploadCompletion
impl Eq for UploadCompletion
impl StructuralPartialEq for UploadCompletion
Auto Trait Implementations§
impl Freeze for UploadCompletion
impl RefUnwindSafe for UploadCompletion
impl Send for UploadCompletion
impl Sync for UploadCompletion
impl Unpin for UploadCompletion
impl UnsafeUnpin for UploadCompletion
impl UnwindSafe for UploadCompletion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.