#[non_exhaustive]pub enum FeatureError {
Disabled,
Unsupported,
}Expand description
Feature availability 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.
Disabled
The feature is intentionally not enabled for this build or context.
Unsupported
The feature is not implemented by this crate version.
Implementations§
Trait Implementations§
Source§impl Clone for FeatureError
impl Clone for FeatureError
Source§fn clone(&self) -> FeatureError
fn clone(&self) -> FeatureError
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 moreimpl Copy for FeatureError
Source§impl Debug for FeatureError
impl Debug for FeatureError
Source§impl Display for FeatureError
impl Display for FeatureError
impl Eq for FeatureError
Source§impl PartialEq for FeatureError
impl PartialEq for FeatureError
Source§fn eq(&self, other: &FeatureError) -> bool
fn eq(&self, other: &FeatureError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FeatureError
Auto Trait Implementations§
impl Freeze for FeatureError
impl RefUnwindSafe for FeatureError
impl Send for FeatureError
impl Sync for FeatureError
impl Unpin for FeatureError
impl UnsafeUnpin for FeatureError
impl UnwindSafe for FeatureError
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