#[non_exhaustive]pub enum MemoryResolutionError {
Exhausted {
stable_key: StableKey,
authority: String,
},
Range(MemoryManagerRangeAuthorityError),
Registry(StaticMemoryDeclarationError),
Declaration(DeclarationSnapshotError),
}Expand description
MemoryResolutionError
Logical placement failed before publishing allocation authority.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Exhausted
Range(MemoryManagerRangeAuthorityError)
Registry(StaticMemoryDeclarationError)
Declaration(DeclarationSnapshotError)
Trait Implementations§
Source§impl Debug for MemoryResolutionError
impl Debug for MemoryResolutionError
Source§impl Display for MemoryResolutionError
impl Display for MemoryResolutionError
Source§impl Error for MemoryResolutionError
impl Error for MemoryResolutionError
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<DeclarationSnapshotError> for MemoryResolutionError
impl From<DeclarationSnapshotError> for MemoryResolutionError
Source§fn from(source: DeclarationSnapshotError) -> Self
fn from(source: DeclarationSnapshotError) -> Self
Converts to this type from the input type.
Source§impl From<MemoryManagerRangeAuthorityError> for MemoryResolutionError
impl From<MemoryManagerRangeAuthorityError> for MemoryResolutionError
Source§fn from(source: MemoryManagerRangeAuthorityError) -> Self
fn from(source: MemoryManagerRangeAuthorityError) -> Self
Converts to this type from the input type.
Source§impl<P> From<MemoryResolutionError> for RuntimeBootstrapError<P>
impl<P> From<MemoryResolutionError> for RuntimeBootstrapError<P>
Source§fn from(source: MemoryResolutionError) -> Self
fn from(source: MemoryResolutionError) -> Self
Converts to this type from the input type.
Source§impl From<StaticMemoryDeclarationError> for MemoryResolutionError
impl From<StaticMemoryDeclarationError> for MemoryResolutionError
Source§fn from(source: StaticMemoryDeclarationError) -> Self
fn from(source: StaticMemoryDeclarationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MemoryResolutionError
impl RefUnwindSafe for MemoryResolutionError
impl Send for MemoryResolutionError
impl Sync for MemoryResolutionError
impl Unpin for MemoryResolutionError
impl UnsafeUnpin for MemoryResolutionError
impl UnwindSafe for MemoryResolutionError
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