#[non_exhaustive]pub enum GateExtra {
DuplicateStems {
divergent: usize,
baselined: usize,
unbaselined: Vec<String>,
stale: Vec<String>,
divergent_stems: Vec<String>,
},
}Expand description
Out-of-band structured detail for gates that post-date the frozen GateDetail
vocabulary.
This type did not exist in provable-contracts 0.3.1, so no 0.3.1 program names
it and none can match it. That is what makes it extensible where GateDetail is
not, and it is #[non_exhaustive] from birth so the next post-0.3.1 gate does
not have to repeat this exercise.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Serialize for GateExtra
impl Serialize for GateExtra
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for GateExtra
impl RefUnwindSafe for GateExtra
impl Send for GateExtra
impl Sync for GateExtra
impl Unpin for GateExtra
impl UnsafeUnpin for GateExtra
impl UnwindSafe for GateExtra
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