pub enum AddressSpaceMapRegionError {
OutOfMemory(MapSizeEnsureChainError),
Unaligned(VirtualAddress, PhysicalAddress),
}Expand description
A mapping error.
Variants§
OutOfMemory(MapSizeEnsureChainError)
Unaligned(VirtualAddress, PhysicalAddress)
Trait Implementations§
Source§impl Clone for AddressSpaceMapRegionError
impl Clone for AddressSpaceMapRegionError
Source§fn clone(&self) -> AddressSpaceMapRegionError
fn clone(&self) -> AddressSpaceMapRegionError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AddressSpaceMapRegionError
impl Debug for AddressSpaceMapRegionError
Source§impl Display for AddressSpaceMapRegionError
impl Display for AddressSpaceMapRegionError
Source§impl Error for AddressSpaceMapRegionError
impl Error for AddressSpaceMapRegionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AddressSpaceMapOneError> for AddressSpaceMapRegionError
impl From<AddressSpaceMapOneError> for AddressSpaceMapRegionError
Source§fn from(e: AddressSpaceMapOneError) -> Self
fn from(e: AddressSpaceMapOneError) -> Self
Converts to this type from the input type.
Source§impl From<MapSizeEnsureChainError> for AddressSpaceMapRegionError
impl From<MapSizeEnsureChainError> for AddressSpaceMapRegionError
Source§fn from(source: MapSizeEnsureChainError) -> Self
fn from(source: MapSizeEnsureChainError) -> Self
Converts to this type from the input type.
impl Copy for AddressSpaceMapRegionError
impl Eq for AddressSpaceMapRegionError
impl StructuralPartialEq for AddressSpaceMapRegionError
Auto Trait Implementations§
impl Freeze for AddressSpaceMapRegionError
impl RefUnwindSafe for AddressSpaceMapRegionError
impl Send for AddressSpaceMapRegionError
impl Sync for AddressSpaceMapRegionError
impl Unpin for AddressSpaceMapRegionError
impl UnwindSafe for AddressSpaceMapRegionError
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