riot_sys

Type Alias vfs_mount_t

Source
pub type vfs_mount_t = vfs_mount_struct;
Expand description

@brief A mounted file system

Aliased Type§

struct vfs_mount_t {
    pub list_entry: list_node,
    pub fs: *const vfs_file_system_t,
    pub mount_point: *const u8,
    pub mount_point_len: u32,
    pub open_files: u16,
    pub private_data: *mut c_void,
}

Fields§

§list_entry: list_node

< List entry for the _vfs_mount_list list

§fs: *const vfs_file_system_t

< The file system driver for the mount point

§mount_point: *const u8

< Mount point, e.g. “/mnt/cdrom”

§mount_point_len: u32

< Length of mount_point string (set by vfs_mount)

§open_files: u16

< Number of currently open files and directories

§private_data: *mut c_void

< File system driver private data, implementation defined

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 24 bytes

Trait Implementations

Source§

impl Clone for vfs_mount_struct

Source§

fn clone(&self) -> vfs_mount_struct

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for vfs_mount_struct

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for vfs_mount_struct

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for vfs_mount_struct