Filesystem information.
struct FileSystemInfo(/* */)
| Name | Description |
|---|---|
| from_path | Returns information about the filesystem located at a path. |
| Receiver | Name | Description |
|---|---|---|
&self | available_blocks | Returns the number of free blocks usable by unprivileged users. |
&self | block_size | Returns the block size of the filesystem. |
&self | blocks | Returns the number of blocks in the filesystem. |
&self | files | Returns the number of files in the filesystem. |
&self | fragment_size | Returns the fragment size of the filesystem. |
&self | free_blocks | Returns the number of free blocks in the filesystem. |
&self | free_files | Returns the number of free inodes in the filesystem. |
&self | max_name_len | Returns the maximum length of a filename in the filesystem. |
&self | mount_flags | Returns the flags the filesystem is mounted with. |
&self | ty | Returns the type of the filesystem. |
| 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. |