Enum sourceview5::FileLoaderError[][src]

#[non_exhaustive]pub enum FileLoaderError {
    TooBig,
    EncodingAutoDetectionFailed,
    ConversionFallback,
    // some variants omitted
}

An error code used with the GTK_SOURCE_FILE_LOADER_ERROR domain.

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.
TooBig

The file is too big.

EncodingAutoDetectionFailed

It is not possible to detect the encoding automatically.

ConversionFallback

There was an encoding conversion error and it was needed to use a fallback character.

Trait Implementations

impl Clone for FileLoaderError[src]

impl Copy for FileLoaderError[src]

impl Debug for FileLoaderError[src]

impl Display for FileLoaderError[src]

impl Eq for FileLoaderError[src]

impl ErrorDomain for FileLoaderError[src]

impl<'a> FromValue<'a> for FileLoaderError[src]

impl<'a> FromValueOptional<'a> for FileLoaderError[src]

impl Hash for FileLoaderError[src]

impl Ord for FileLoaderError[src]

impl PartialEq<FileLoaderError> for FileLoaderError[src]

impl PartialOrd<FileLoaderError> for FileLoaderError[src]

impl SetValue for FileLoaderError[src]

impl StaticType for FileLoaderError[src]

impl StructuralEq for FileLoaderError[src]

impl StructuralPartialEq for FileLoaderError[src]

Auto Trait Implementations

impl RefUnwindSafe for FileLoaderError

impl Send for FileLoaderError

impl Sync for FileLoaderError

impl Unpin for FileLoaderError

impl UnwindSafe for FileLoaderError

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<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: SetValue + Send + ToValue + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

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.