#[non_exhaustive]pub enum DataTransferError {
TypeNotFound,
}Expand description
An error which can occur while fetching data from a DataTransfer.
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.
TypeNotFound
The type was not listed in the set of available MIME types.
Trait Implementations§
Source§impl Clone for DataTransferError
impl Clone for DataTransferError
Source§fn clone(&self) -> DataTransferError
fn clone(&self) -> DataTransferError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DataTransferError
impl Debug for DataTransferError
Source§impl Display for DataTransferError
impl Display for DataTransferError
Source§impl Error for DataTransferError
impl Error for DataTransferError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for DataTransferError
impl RefUnwindSafe for DataTransferError
impl Send for DataTransferError
impl Sync for DataTransferError
impl Unpin for DataTransferError
impl UnsafeUnpin for DataTransferError
impl UnwindSafe for DataTransferError
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
Converts the given value to a
SharedString.