pub enum GetxattrReply {
    Value(Vec<u8>),
    Count(u32),
}
Expand description

A reply to a getxattr method call.

Variants§

§

Value(Vec<u8>)

The value of the requested extended attribute. This can be arbitrary textual or binary data and does not need to be nul-terminated.

§

Count(u32)

The size of the buffer needed to hold the value of the requested extended attribute. Should be returned when the size parameter is 0. Callers should note that it is still possible for the size of the value to change in between getxattr calls and should not assume that a subsequent call to getxattr with the returned count will always succeed.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.