pub enum LoadOptionsError {
    NotSet,
    NotAligned,
    InvalidString(FromSliceWithNulError),
}
Expand description

Errors that can be raised during parsing of the load options.

Variants

NotSet

Load options are not set.

NotAligned

The start and/or length of the load options is not u16-aligned.

InvalidString(FromSliceWithNulError)

Not a valid null-terminated UCS-2 string.

Trait Implementations

Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.