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 RefUnwindSafe for SauError
impl Send for SauError
impl Sync for SauError
impl Unpin for SauError
impl UnwindSafe for SauError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more