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§
Auto Trait Implementations§
impl Freeze for SauError
impl RefUnwindSafe for SauError
impl Send for SauError
impl Sync for SauError
impl Unpin for SauError
impl UnwindSafe for SauError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more