pub struct ResidentGraphCertifiedPlan { /* private fields */ }Expand description
A route certificate sealed to the exact immutable plan allocation it inspected.
Preparation through this value cannot accidentally pair a certificate with a
different plan. The owned Arc also prevents safe mutation of the plan while
the seal remains live.
Implementations§
Source§impl ResidentGraphCertifiedPlan
impl ResidentGraphCertifiedPlan
Sourcepub fn inspect(
plan: Arc<ExecutionPlan>,
catalog: &ResidentGraphSchemaCatalog,
) -> Result<Self>
pub fn inspect( plan: Arc<ExecutionPlan>, catalog: &ResidentGraphSchemaCatalog, ) -> Result<Self>
Inspect and seal one immutable plan allocation.
Sourcepub fn certificate(&self) -> &ResidentGraphRouteCertificate
pub fn certificate(&self) -> &ResidentGraphRouteCertificate
Return the certificate produced for the sealed plan.
Trait Implementations§
Source§impl Clone for ResidentGraphCertifiedPlan
impl Clone for ResidentGraphCertifiedPlan
Source§fn clone(&self) -> ResidentGraphCertifiedPlan
fn clone(&self) -> ResidentGraphCertifiedPlan
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 moreAuto Trait Implementations§
impl Freeze for ResidentGraphCertifiedPlan
impl RefUnwindSafe for ResidentGraphCertifiedPlan
impl Send for ResidentGraphCertifiedPlan
impl Sync for ResidentGraphCertifiedPlan
impl Unpin for ResidentGraphCertifiedPlan
impl UnsafeUnpin for ResidentGraphCertifiedPlan
impl UnwindSafe for ResidentGraphCertifiedPlan
Blanket Implementations§
impl<T> Allocation for T
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