#[non_exhaustive]pub enum PlatformErrorKind {
UnsupportedFileName,
InitializationFailed,
TransferFailed,
}Expand description
The category of an operating-system integration error.
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.
UnsupportedFileName
The platform cannot represent or accept a file name.
InitializationFailed
Initialization of required platform facilities failed.
TransferFailed
A platform transfer or clipboard operation failed.
Trait Implementations§
Source§impl Clone for PlatformErrorKind
impl Clone for PlatformErrorKind
impl Copy for PlatformErrorKind
Source§impl Debug for PlatformErrorKind
impl Debug for PlatformErrorKind
impl Eq for PlatformErrorKind
Source§impl PartialEq for PlatformErrorKind
impl PartialEq for PlatformErrorKind
impl StructuralPartialEq for PlatformErrorKind
Auto Trait Implementations§
impl Freeze for PlatformErrorKind
impl RefUnwindSafe for PlatformErrorKind
impl Send for PlatformErrorKind
impl Sync for PlatformErrorKind
impl Unpin for PlatformErrorKind
impl UnsafeUnpin for PlatformErrorKind
impl UnwindSafe for PlatformErrorKind
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