#[non_exhaustive]pub enum TransferEffect {
None,
Copy,
Move,
Link,
Other(u32),
}Expand description
The data-transfer operation reported by a receiving application.
An effect describes what operation was requested or reported, not whether
reading the file contents ultimately succeeded. Check TransferStatus
for the reported outcome.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
No copy, move, or link effect was reported.
Copy
The receiver reported a copy operation.
Move
The receiver reported a move operation.
Link
The receiver reported a link operation.
Other(u32)
An unrecognized platform-specific effect, retaining its raw value.
Trait Implementations§
Source§impl Clone for TransferEffect
impl Clone for TransferEffect
impl Copy for TransferEffect
Source§impl Debug for TransferEffect
impl Debug for TransferEffect
impl Eq for TransferEffect
Source§impl PartialEq for TransferEffect
impl PartialEq for TransferEffect
impl StructuralPartialEq for TransferEffect
Auto Trait Implementations§
impl Freeze for TransferEffect
impl RefUnwindSafe for TransferEffect
impl Send for TransferEffect
impl Sync for TransferEffect
impl Unpin for TransferEffect
impl UnsafeUnpin for TransferEffect
impl UnwindSafe for TransferEffect
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