pub enum MeasurementInstruction {
Measure {
arity: u32,
},
AwaitMeasure,
}Expand description
Measurement instructions (device code 0x12).
Variants§
Measure
Initiate measurement on arity zones. Opcode 0x0012.
AwaitMeasure
Block until measurement completes. Opcode 0x0112.
Trait Implementations§
Source§impl Clone for MeasurementInstruction
impl Clone for MeasurementInstruction
Source§fn clone(&self) -> MeasurementInstruction
fn clone(&self) -> MeasurementInstruction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MeasurementInstruction
impl Debug for MeasurementInstruction
Source§impl PartialEq for MeasurementInstruction
impl PartialEq for MeasurementInstruction
impl Copy for MeasurementInstruction
impl Eq for MeasurementInstruction
impl StructuralPartialEq for MeasurementInstruction
Auto Trait Implementations§
impl Freeze for MeasurementInstruction
impl RefUnwindSafe for MeasurementInstruction
impl Send for MeasurementInstruction
impl Sync for MeasurementInstruction
impl Unpin for MeasurementInstruction
impl UnwindSafe for MeasurementInstruction
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