Struct amq_proto::MethodFrame
[−]
[src]
pub struct MethodFrame { pub class_id: u16, pub method_id: u16, pub arguments: EncodedMethod, }
Fields
class_id: u16
method_id: u16
arguments: EncodedMethod
Methods
impl MethodFrame
[src]
fn encode(&self) -> Result<FramePayload>
fn decode(frame: &Frame) -> Result<MethodFrame>
fn method_name(&self) -> &'static str
fn carries_content(&self) -> bool
Trait Implementations
impl Debug for MethodFrame
[src]
impl Clone for MethodFrame
[src]
fn clone(&self) -> MethodFrame
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more