pub struct ScopeCheck;Expand description
Marker type for the ScopeCheck audit-record kind.
Introduced per the ticket’s introduces: frontmatter so the variant name
has a type-level identity in addition to the AuditRecordKind
discriminant. The marker is empty and zero-cost; callers that statically
know they’re writing a scope-check record can use it to make that intent
readable at the call site:
ⓘ
let kind = ScopeCheck.into(); // AuditRecordKind::ScopeCheckTrait Implementations§
Source§impl Clone for ScopeCheck
impl Clone for ScopeCheck
impl Copy for ScopeCheck
Source§impl Debug for ScopeCheck
impl Debug for ScopeCheck
Source§impl Default for ScopeCheck
impl Default for ScopeCheck
impl Eq for ScopeCheck
Source§impl From<ScopeCheck> for AuditRecordKind
impl From<ScopeCheck> for AuditRecordKind
Source§fn from(_: ScopeCheck) -> Self
fn from(_: ScopeCheck) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScopeCheck
impl PartialEq for ScopeCheck
impl StructuralPartialEq for ScopeCheck
Auto Trait Implementations§
impl Forget for ScopeCheck
impl Freeze for ScopeCheck
impl Move for ScopeCheck
impl RefUnwindSafe for ScopeCheck
impl Send for ScopeCheck
impl Sync for ScopeCheck
impl Unpin for ScopeCheck
impl UnsafeUnpin for ScopeCheck
impl UnwindSafe for ScopeCheck
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