[−][src]Enum dqcsim::common::protocol::GatestreamUp
Gatestream responses/upstream messages.
Variants
CompletedUpTo(SequenceNumber)
Acknowledges one or more requests.
This message indicates that all commands up to the given sequence number have been executed. It must be sent by the plugin as soon as possible, but does NOT have to be sent for every request necessarily.
Failure(SequenceNumber, String)
Indicates that the message with the specified sequence number failed.
Measured(QubitMeasurementResult)
Specifies that the specified qubit was measured.
This may only be sent in response to a gate that contains the
referenced qubit in its measured
set. This is to be checked when the
subsequent CompletedUpTo
message is received, as this message does
not contain the sequence number itself.
Advanced(Cycles)
Indicates that the simulation was advanced by the specified number of cycles.
ArbSuccess(ArbData)
Indicates that a GatestreamDown::ArbRequest
was executed successfully.
ArbFailure(String)
Indicates that a GatestreamDown::ArbRequest
failed.
Trait Implementations
impl Debug for GatestreamUp
[src]
impl<'de> Deserialize<'de> for GatestreamUp
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<GatestreamUp> for GatestreamUp
[src]
fn eq(&self, other: &GatestreamUp) -> bool
[src]
fn ne(&self, other: &GatestreamUp) -> bool
[src]
impl Serialize for GatestreamUp
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for GatestreamUp
[src]
Auto Trait Implementations
impl RefUnwindSafe for GatestreamUp
impl Send for GatestreamUp
impl Sync for GatestreamUp
impl Unpin for GatestreamUp
impl UnwindSafe for GatestreamUp
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,