pub enum FileSyncStatus {
Pending,
Preparing,
Transferring,
Verifying,
Retrying,
Success,
Failed,
Skipped,
Conflict,
PartialSuccess,
Cancelled,
WaitingForUser,
}Expand description
文件同步状态
Variants§
Pending
等待中
Preparing
准备中
Transferring
传输中
Verifying
验证中
Retrying
重试中
Success
成功
Failed
失败
Skipped
跳过
Conflict
冲突
PartialSuccess
部分成功(如分块传输)
Cancelled
取消
WaitingForUser
等待用户确认
Implementations§
Trait Implementations§
Source§impl Clone for FileSyncStatus
impl Clone for FileSyncStatus
Source§fn clone(&self) -> FileSyncStatus
fn clone(&self) -> FileSyncStatus
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 FileSyncStatus
impl Debug for FileSyncStatus
Source§impl<'de> Deserialize<'de> for FileSyncStatus
impl<'de> Deserialize<'de> for FileSyncStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FileSyncStatus
impl PartialEq for FileSyncStatus
Source§impl Serialize for FileSyncStatus
impl Serialize for FileSyncStatus
impl Copy for FileSyncStatus
impl Eq for FileSyncStatus
impl StructuralPartialEq for FileSyncStatus
Auto Trait Implementations§
impl Freeze for FileSyncStatus
impl RefUnwindSafe for FileSyncStatus
impl Send for FileSyncStatus
impl Sync for FileSyncStatus
impl Unpin for FileSyncStatus
impl UnwindSafe for FileSyncStatus
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.