pub enum GetFrameError {
InUse,
Unused,
Busy,
Unique,
OutOfBound,
NotAligned,
Retry,
}Expand description
The error type for getting the frame from a physical address.
Variants§
InUse
The frame is in use.
Unused
The frame is not in use.
Busy
The frame is being initialized or destructed.
Unique
The frame is private to an owner of UniqueFrame.
OutOfBound
The provided physical address is out of bound.
NotAligned
The provided physical address is not aligned.
Retry
Verification only: compare_exchange returned Err, retry
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetFrameError
impl RefUnwindSafe for GetFrameError
impl Send for GetFrameError
impl Sync for GetFrameError
impl Unpin for GetFrameError
impl UnwindSafe for GetFrameError
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