pub enum StaticMemoryDeclarationError {
RegistryPoisoned,
RegistrySealed,
Declaration(DeclarationSnapshotError),
Range(MemoryManagerRangeAuthorityError),
}Expand description
StaticMemoryDeclarationError
Failure to register or collect static allocation declarations.
Variants§
RegistryPoisoned
Static declaration registry lock was poisoned.
RegistrySealed
Bootstrap already sealed the declaration snapshot.
Declaration(DeclarationSnapshotError)
Declaration validation failed.
Range(MemoryManagerRangeAuthorityError)
Range authority validation failed.
Trait Implementations§
Source§impl Clone for StaticMemoryDeclarationError
impl Clone for StaticMemoryDeclarationError
Source§fn clone(&self) -> StaticMemoryDeclarationError
fn clone(&self) -> StaticMemoryDeclarationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StaticMemoryDeclarationError
impl Debug for StaticMemoryDeclarationError
Source§impl Error for StaticMemoryDeclarationError
impl Error for StaticMemoryDeclarationError
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 StaticMemoryDeclarationError
impl From<DeclarationSnapshotError> for StaticMemoryDeclarationError
Source§fn from(source: DeclarationSnapshotError) -> Self
fn from(source: DeclarationSnapshotError) -> Self
Converts to this type from the input type.
Source§impl From<MemoryManagerRangeAuthorityError> for StaticMemoryDeclarationError
impl From<MemoryManagerRangeAuthorityError> for StaticMemoryDeclarationError
Source§fn from(source: MemoryManagerRangeAuthorityError) -> Self
fn from(source: MemoryManagerRangeAuthorityError) -> Self
Converts to this type from the input type.
Source§impl<P> From<StaticMemoryDeclarationError> for RuntimeBootstrapError<P>
impl<P> From<StaticMemoryDeclarationError> for RuntimeBootstrapError<P>
Source§fn from(source: StaticMemoryDeclarationError) -> Self
fn from(source: StaticMemoryDeclarationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StaticMemoryDeclarationError
impl PartialEq for StaticMemoryDeclarationError
Source§fn eq(&self, other: &StaticMemoryDeclarationError) -> bool
fn eq(&self, other: &StaticMemoryDeclarationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StaticMemoryDeclarationError
impl StructuralPartialEq for StaticMemoryDeclarationError
Auto Trait Implementations§
impl Freeze for StaticMemoryDeclarationError
impl RefUnwindSafe for StaticMemoryDeclarationError
impl Send for StaticMemoryDeclarationError
impl Sync for StaticMemoryDeclarationError
impl Unpin for StaticMemoryDeclarationError
impl UnsafeUnpin for StaticMemoryDeclarationError
impl UnwindSafe for StaticMemoryDeclarationError
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