Method lrs::file::File::get_attr

Gets an attribute of this file.

Syntax

impl File {
    fn get_attr<S>(&self, name: S) -> Result<Vec<u8, Libc>, Errno>
        where S: ToCString,
}

Arguments

NameDescription
name

The name of the attribute.

Return value

Returns the value of the argument.

See also