[][src]Enum cqc::RspInfo

pub enum RspInfo {
    Qubit(QubitHdr),
    MeasOut(MeasOutHdr),
    Epr(EprInfo),
    None,
}

Response Info

Some responses from a CQC backed will be followed by either a Notify Header or an Entanglement Info Header.

Variants

Qubit(QubitHdr)MeasOut(MeasOutHdr)Epr(EprInfo)None

Methods

impl RspInfo[src]

pub fn is_qubit_hdr(&self) -> bool[src]

pub fn is_meas_out_hdr(&self) -> bool[src]

pub fn is_epr_hdr(&self) -> bool[src]

pub fn get_qubit_hdr(self) -> QubitHdr[src]

pub fn get_meas_out_hdr(self) -> MeasOutHdr[src]

pub fn get_epr_hdr(self) -> EprInfo[src]

pub fn is_some(&self) -> bool[src]

pub fn is_none(&self) -> bool[src]

Trait Implementations

impl PartialEq<RspInfo> for RspInfo[src]

impl Debug for RspInfo[src]

Auto Trait Implementations

impl Send for RspInfo

impl Sync for RspInfo

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.