pub struct DiagnosticRangeAuthority {
pub registered_records: Vec<MemoryManagerAuthorityRecord>,
pub effective_authority: Option<MemoryManagerRangeAuthority>,
pub error: Option<String>,
}Expand description
DiagnosticRangeAuthority
Read-only diagnostic view of registered and effective range authority.
Fields§
§registered_records: Vec<MemoryManagerAuthorityRecord>Range records registered directly by linked crates.
Effective range authority table, including runtime-owned internal records, when the table validated successfully.
error: Option<String>Validation error when the effective authority table could not be built.
Implementations§
Source§impl DiagnosticRangeAuthority
impl DiagnosticRangeAuthority
Sourcepub const fn new(
registered_records: Vec<MemoryManagerAuthorityRecord>,
effective_authority: Option<MemoryManagerRangeAuthority>,
error: Option<String>,
) -> Self
pub const fn new( registered_records: Vec<MemoryManagerAuthorityRecord>, effective_authority: Option<MemoryManagerRangeAuthority>, error: Option<String>, ) -> Self
Build a range-authority diagnostic.
Trait Implementations§
Source§impl Clone for DiagnosticRangeAuthority
impl Clone for DiagnosticRangeAuthority
Source§fn clone(&self) -> DiagnosticRangeAuthority
fn clone(&self) -> DiagnosticRangeAuthority
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 DiagnosticRangeAuthority
impl Debug for DiagnosticRangeAuthority
Source§impl<'de> Deserialize<'de> for DiagnosticRangeAuthority
impl<'de> Deserialize<'de> for DiagnosticRangeAuthority
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DiagnosticRangeAuthority
Source§impl PartialEq for DiagnosticRangeAuthority
impl PartialEq for DiagnosticRangeAuthority
Source§fn eq(&self, other: &DiagnosticRangeAuthority) -> bool
fn eq(&self, other: &DiagnosticRangeAuthority) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DiagnosticRangeAuthority
impl Serialize for DiagnosticRangeAuthority
impl StructuralPartialEq for DiagnosticRangeAuthority
Auto Trait Implementations§
impl Freeze for DiagnosticRangeAuthority
impl RefUnwindSafe for DiagnosticRangeAuthority
impl Send for DiagnosticRangeAuthority
impl Sync for DiagnosticRangeAuthority
impl Unpin for DiagnosticRangeAuthority
impl UnsafeUnpin for DiagnosticRangeAuthority
impl UnwindSafe for DiagnosticRangeAuthority
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