Enum littlefs2::path::Error[][src]

pub enum Error {
    NotAscii,
    NotCStr,
    TooLarge,
}
Expand description

Errors that arise from converting byte buffers into paths

Variants

NotAscii

Byte buffer contains non-ASCII characters

NotCStr

Byte buffer is not a C string

TooLarge

Byte buffer is too long (longer than consts::PATH_MAX_PLUS_ONE)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

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.

Should always be Self

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.