Information about a file.
struct Info(/* */)
| Receiver | Name | Description |
|---|---|---|
&self | blocks | Returns the number of |
&self | device | Returns the device on which the file is stored. |
&self | file_type | Returns the type of this file. |
&self | group | Returns the group id of the owner. |
&self | inode | Returns the inode of the file. |
&self | last_access | Returns the last time this file was accessed. |
&self | last_modification | Returns the last time this file was modified. |
&self | last_status_change | Returns the last time the status of the inode was changed. |
&self | mode | Returns the mode of the file. |
&self | nr_hard_links | Returns the number of hard links to the file. |
&self | preferred_write_size | Returns the preferred size of writes to this file. |
&self | size | Returns he size of the file in bytes. |
&self | special_file | If |
&self | user | Returns the user id of the owner. |
| Name | Description |
|---|---|
| Clone | Objects that can be duplicated. |
| Copy | Objects that can safely be copied via |
| Debug | Objects that can be formatted in a "debug" form. |
| Eq | Objects that implement the binary |
| MaybeClone | Objects that can be duplicated. |
| Pod | Objects that are safe to use if they contain a random bit pattern. |