pub enum Pinning {
Signature,
Both,
}Expand description
How a Stage reference resolves to a concrete stage in the store.
Per M2 (v0.6.0), every graph node that names a stage declares its
pinning. Default is Pinning::Signature, which picks up
implementation bugfixes automatically. Pinning::Both is the
bit-reproducible option — the resolver refuses to substitute a
different implementation even if the stored one has been deprecated.
Variants§
Signature
Interpret the node’s id as a noether_core::stage::SignatureId
and resolve to whichever stage is currently Active with that
signature. Default — matches the v0.6.0 recommendation in
STABILITY.md.
Both
Interpret the node’s id as an implementation-inclusive
StageId and require an exact match. The resolver refuses to
fall back to any other implementation of the same signature.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pinning
impl<'de> Deserialize<'de> for Pinning
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 Copy for Pinning
impl Eq for Pinning
impl StructuralPartialEq for Pinning
Auto Trait Implementations§
impl Freeze for Pinning
impl RefUnwindSafe for Pinning
impl Send for Pinning
impl Sync for Pinning
impl Unpin for Pinning
impl UnsafeUnpin for Pinning
impl UnwindSafe for Pinning
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