Enum semihosting_files::FileOpenMode[][src]

#[repr(usize)]
pub enum FileOpenMode {
    Read,
    ReadBinary,
    ReadWrite,
    ReadWriteAppend,
    ReadWriteAppendBinary,
    ReadWriteTruncate,
    ReadWriteTruncateBinary,
    WriteAppend,
    WriteAppendBinary,
    WriteTruncate,
    WriteTruncateBinary,
}
Expand description

This enum determines how a file should be opened.

For more informations on the open modes, see the c-function fopen.

Variants

Read
ReadBinary
ReadWrite
ReadWriteAppend
ReadWriteAppendBinary
ReadWriteTruncate
ReadWriteTruncateBinary
WriteAppend
WriteAppendBinary
WriteTruncate
WriteTruncateBinary

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.