[][src]Enum gio::FileAttributeType

#[non_exhaustive]pub enum FileAttributeType {
    Invalid,
    String,
    ByteString,
    Boolean,
    Uint32,
    Int32,
    Uint64,
    Int64,
    Object,
    Stringv,
    // some variants omitted
}

The data types for file attributes.

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

indicates an invalid or uninitalized type.

String

a null terminated UTF8 string.

ByteString

a zero terminated string of non-zero bytes.

Boolean

a boolean value.

Uint32

an unsigned 4-byte/32-bit integer.

Int32

a signed 4-byte/32-bit integer.

Uint64

an unsigned 8-byte/64-bit integer.

Int64

a signed 8-byte/64-bit integer.

Object

a gobject::Object.

Stringv

a None terminated char **. Since 2.22

Trait Implementations

impl Clone for FileAttributeType[src]

impl Copy for FileAttributeType[src]

impl Debug for FileAttributeType[src]

impl Display for FileAttributeType[src]

impl Eq for FileAttributeType[src]

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

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

impl Hash for FileAttributeType[src]

impl Ord for FileAttributeType[src]

impl PartialEq<FileAttributeType> for FileAttributeType[src]

impl PartialOrd<FileAttributeType> for FileAttributeType[src]

impl SetValue for FileAttributeType[src]

impl StaticType for FileAttributeType[src]

impl StructuralEq for FileAttributeType[src]

impl StructuralPartialEq for FileAttributeType[src]

Auto Trait Implementations

impl RefUnwindSafe for FileAttributeType

impl Send for FileAttributeType

impl Sync for FileAttributeType

impl Unpin for FileAttributeType

impl UnwindSafe for FileAttributeType

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: ToValue + SetValue + Send + ?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.