pub struct TermExpressionHandle<H: HostTypes> {
pub fingerprint: ContentFingerprint,
/* private fields */
}Expand description
Phase 8 (orphan-closure) — content-addressed handle for TermExpression<H>.
Pairs a crate::enforcement::ContentFingerprint with a phantom
H so type-state checks can’t mix handles across HostTypes impls.
Fields§
§fingerprint: ContentFingerprintContent fingerprint identifying the resolved record.
Implementations§
Source§impl<H: HostTypes> TermExpressionHandle<H>
impl<H: HostTypes> TermExpressionHandle<H>
Sourcepub const fn new(fingerprint: ContentFingerprint) -> Self
pub const fn new(fingerprint: ContentFingerprint) -> Self
Construct a handle from its content fingerprint.
Trait Implementations§
Source§impl<H: HostTypes> Clone for TermExpressionHandle<H>
impl<H: HostTypes> Clone for TermExpressionHandle<H>
Source§impl<H: HostTypes> Hash for TermExpressionHandle<H>
impl<H: HostTypes> Hash for TermExpressionHandle<H>
Source§impl<H: HostTypes> PartialEq for TermExpressionHandle<H>
impl<H: HostTypes> PartialEq for TermExpressionHandle<H>
impl<H: HostTypes> Copy for TermExpressionHandle<H>
impl<H: HostTypes> Eq for TermExpressionHandle<H>
Auto Trait Implementations§
impl<H> Freeze for TermExpressionHandle<H>
impl<H> RefUnwindSafe for TermExpressionHandle<H>where
H: RefUnwindSafe,
impl<H> Send for TermExpressionHandle<H>where
H: Send,
impl<H> Sync for TermExpressionHandle<H>where
H: Sync,
impl<H> Unpin for TermExpressionHandle<H>where
H: Unpin,
impl<H> UnsafeUnpin for TermExpressionHandle<H>
impl<H> UnwindSafe for TermExpressionHandle<H>where
H: UnwindSafe,
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