Enum x_lint::SkipReason[][src]

#[non_exhaustive]pub enum SkipReason<'l> {
    NonUtf8Content,
    UnsupportedExtension(Option<&'l str>),
    UnsupportedFile(&'l Utf8Path),
    UnsupportedPackage(&'l PackageId),
    GlobExemption(&'l str),
}

The reason for why this lint was skipped.

Variants (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.
NonUtf8Content

This file’s content was not valid UTF-8.

UnsupportedExtension(Option<&'l str>)

This extension was unsupported.

UnsupportedFile(&'l Utf8Path)

The given file was unsupported by this linter.

UnsupportedPackage(&'l PackageId)

The given package was unsupported by this linter.

GlobExemption(&'l str)

The given file was excepted by a glob rule

Trait Implementations

impl<'l> Clone for SkipReason<'l>[src]

impl<'l> Debug for SkipReason<'l>[src]

impl<'l> Eq for SkipReason<'l>[src]

impl<'l> PartialEq<SkipReason<'l>> for SkipReason<'l>[src]

impl<'l> StructuralEq for SkipReason<'l>[src]

impl<'l> StructuralPartialEq for SkipReason<'l>[src]

Auto Trait Implementations

impl<'l> RefUnwindSafe for SkipReason<'l>

impl<'l> Send for SkipReason<'l>

impl<'l> Sync for SkipReason<'l>

impl<'l> Unpin for SkipReason<'l>

impl<'l> UnwindSafe for SkipReason<'l>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.