pub enum SauError {
    RegionNumberTooBig,
    WrongBaseAddress,
    WrongLimitAddress,
}
Expand description

Possible error values returned by the SAU methods.

Variants§

§

RegionNumberTooBig

The region number parameter to set or get a region must be between 0 and region_numbers() - 1.

§

WrongBaseAddress

Bits 0 to 4 of the base address of a SAU region must be set to zero.

§

WrongLimitAddress

Bits 0 to 4 of the limit address of a SAU region must be set to one.

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.