#[non_exhaustive]pub enum IncludeSourceErrorKind {
NotFound,
Unavailable,
Unsupported,
Fatal,
}Expand description
Classification of a source-provider failure.
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.
NotFound
The resolved source does not exist.
The source exists conceptually but could not be opened or retrieved.
Unsupported
The provider does not support this target kind or transport.
Fatal
The provider cannot recover from this failure.
Trait Implementations§
Source§impl Clone for IncludeSourceErrorKind
impl Clone for IncludeSourceErrorKind
impl Copy for IncludeSourceErrorKind
Source§impl Debug for IncludeSourceErrorKind
impl Debug for IncludeSourceErrorKind
impl Eq for IncludeSourceErrorKind
Source§impl PartialEq for IncludeSourceErrorKind
impl PartialEq for IncludeSourceErrorKind
impl StructuralPartialEq for IncludeSourceErrorKind
Auto Trait Implementations§
impl Freeze for IncludeSourceErrorKind
impl RefUnwindSafe for IncludeSourceErrorKind
impl Send for IncludeSourceErrorKind
impl Sync for IncludeSourceErrorKind
impl Unpin for IncludeSourceErrorKind
impl UnsafeUnpin for IncludeSourceErrorKind
impl UnwindSafe for IncludeSourceErrorKind
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