Enum amqpr_codec::frame::method::channel::ChannelClass
[−]
[src]
pub enum ChannelClass { Open(OpenMethod), OpenOk(OpenOkMethod), Flow(FlowMethod), FlowOk(FlowOkMethod), Close(CloseMethod), CloseOk, }
Variants
Open(OpenMethod)
OpenOk(OpenOkMethod)
Flow(FlowMethod)
FlowOk(FlowOkMethod)
Close(CloseMethod)
CloseOk
Methods
impl ChannelClass
[src]
fn open(&self) -> Option<&OpenMethod>
[src]
fn open_ok(&self) -> Option<&OpenOkMethod>
[src]
fn flow(&self) -> Option<&FlowMethod>
[src]
fn flow_ok(&self) -> Option<&FlowOkMethod>
[src]
fn close(&self) -> Option<&CloseMethod>
[src]
fn close_ok(&self) -> Option<()>
[src]
Trait Implementations
impl PartialEq for ChannelClass
[src]
fn eq(&self, __arg_0: &ChannelClass) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ChannelClass) -> bool
[src]
This method tests for !=
.
impl Clone for ChannelClass
[src]
fn clone(&self) -> ChannelClass
[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