Struct slos_filesystem::impls::simplememoryfs::SimpleMemoryFilesystemFile[][src]

pub struct SimpleMemoryFilesystemFile {
    pub parent_index: Option<usize>,
    pub inode: usize,
    pub name: String,
    pub content: Vec<u8>,
}

Fields

parent_index: Option<usize>inode: usizename: Stringcontent: Vec<u8>

Trait Implementations

Formats the value using the given formatter. Read more

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

Try to read from the file Read more

Try to write to the file Read more

Get the inode value for this node

Get the filename of this node

Get the permissions of this node

Try to get this node as a FsRoot trait object reference Read more

Try to get this node as a FsDirectory trait object reference Read more

Try to get this node as a FsFile trait object reference Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

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.