Enum amqpr_codec::frame::method::tx::TxClass
[−]
[src]
pub enum TxClass {
Select,
SelectOk,
Commit,
CommitOk,
Rollback,
RollbackOk,
}Sent by client ( need to be encoded )
- Select
- Commit
- Rollback
Receive by client ( need to be decoded )
- SelectOk
- CommitOk
- RollbackOk
Variants
SelectSelectOkCommitCommitOkRollbackRollbackOk
Methods
impl TxClass[src]
fn select(&self) -> Option<()>[src]
fn select_ok(&self) -> Option<()>[src]
fn commit(&self) -> Option<()>[src]
fn commit_ok(&self) -> Option<()>[src]
fn rollback(&self) -> Option<()>[src]
fn rollback_ok(&self) -> Option<()>[src]
Trait Implementations
impl PartialEq for TxClass[src]
fn eq(&self, __arg_0: &TxClass) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Clone for TxClass[src]
fn clone(&self) -> TxClass[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more