pub enum Error {
ClipboardUnavailable,
ClipboardOccupied,
ContentNotAvailable,
ConversionFailure,
Unknown {
description: Arc<String>,
},
}Expand description
A clipboard error.
Variants§
The clipboard in the current environment is either not present or could not be accessed.
ClipboardOccupied
The native clipboard is not accessible due to being held by another party.
ContentNotAvailable
The clipboard contents were not available in the requested format. This could either be due to the clipboard being empty or the clipboard contents having an incompatible format to the requested one
ConversionFailure
The image or the text that was about the be transferred to/from the clipboard could not be converted to the appropriate format.
Unknown
Any error that doesn’t fit the other error types.
Trait Implementations§
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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