Enum amqpr_codec::frame::method::basic::BasicClass
[−]
[src]
pub enum BasicClass { Qos(QosMethod), QosOk, Consume(ConsumeMethod), ConsumeOk(ConsumeOkMethod), Cancel(CancelMethod), CancelOk(CancelOkMethod), Publish(PublishMethod), Return(ReturnMethod), Deliver(DeliverMethod), Get(GetMethod), GetOk(GetOkMethod), GetEmpty(GetEmptyMethod), Ack(AckMethod), Reject(RejectMethod), Nack(NackMethod), RecoverAsync(RecoverAsyncMethod), Recover(RecoverMethod), RecoverOk, }
Sent by client ( need to be encoded )
- Qos
- Consume
- Cancel
- Publish
- Get
- Ack
- Reject
- Nack
- RecoverAsync
- Recover
Received by client ( need to be decoded )
- QosOk
- ConsumeOk
- CancelOk
- Return
- Deliver
- Ack
- Nack
- RecoverOk
Variants
Qos(QosMethod)
QosOk
Consume(ConsumeMethod)
ConsumeOk(ConsumeOkMethod)
Cancel(CancelMethod)
CancelOk(CancelOkMethod)
Publish(PublishMethod)
Return(ReturnMethod)
Deliver(DeliverMethod)
Get(GetMethod)
GetOk(GetOkMethod)
GetEmpty(GetEmptyMethod)
Ack(AckMethod)
Reject(RejectMethod)
Nack(NackMethod)
RecoverAsync(RecoverAsyncMethod)
Recover(RecoverMethod)
RecoverOk
Methods
impl BasicClass
[src]
fn qos(&self) -> Option<&QosMethod>
[src]
fn qos_ok(&self) -> Option<()>
[src]
fn consume(&self) -> Option<&ConsumeMethod>
[src]
fn consume_ok(&self) -> Option<&ConsumeOkMethod>
[src]
fn cancel(&self) -> Option<&CancelMethod>
[src]
fn cancel_ok(&self) -> Option<&CancelOkMethod>
[src]
fn publish(&self) -> Option<&PublishMethod>
[src]
fn return_(&self) -> Option<&ReturnMethod>
[src]
fn deliver(&self) -> Option<&DeliverMethod>
[src]
fn get(&self) -> Option<&GetMethod>
[src]
fn get_ok(&self) -> Option<&GetOkMethod>
[src]
fn get_empty(&self) -> Option<&GetEmptyMethod>
[src]
fn ack(&self) -> Option<&AckMethod>
[src]
fn reject(&self) -> Option<&RejectMethod>
[src]
fn nack(&self) -> Option<&NackMethod>
[src]
fn recover_async(&self) -> Option<&RecoverAsyncMethod>
[src]
fn recover(&self) -> Option<&RecoverMethod>
[src]
fn recover_ok(&self) -> Option<()>
[src]
Trait Implementations
impl PartialEq for BasicClass
[src]
fn eq(&self, __arg_0: &BasicClass) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BasicClass) -> bool
[src]
This method tests for !=
.
impl Clone for BasicClass
[src]
fn clone(&self) -> BasicClass
[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