#[non_exhaustive]pub enum DropSource {
Device,
Host,
}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.
Trait Implementations§
Source§impl Clone for DropSource
impl Clone for DropSource
impl Copy for DropSource
Source§impl Debug for DropSource
impl Debug for DropSource
impl Eq for DropSource
Source§impl PartialEq for DropSource
impl PartialEq for DropSource
impl StructuralPartialEq for DropSource
Auto Trait Implementations§
impl Freeze for DropSource
impl RefUnwindSafe for DropSource
impl Send for DropSource
impl Sync for DropSource
impl Unpin for DropSource
impl UnsafeUnpin for DropSource
impl UnwindSafe for DropSource
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