[−][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 PartialEq<GatestreamUp> for GatestreamUp
[src]
fn eq(&self, other: &GatestreamUp) -> bool
[src]
fn ne(&self, other: &GatestreamUp) -> bool
[src]
impl Debug for GatestreamUp
[src]
impl Serialize for GatestreamUp
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for GatestreamUp
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for GatestreamUp
impl Unpin for GatestreamUp
impl Sync for GatestreamUp
impl UnwindSafe for GatestreamUp
impl RefUnwindSafe for GatestreamUp
Blanket Implementations
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,