pub struct Return {
pub reply_code: u16,
pub reply_text: String,
pub exchange: String,
pub routing_key: String,
}Fields§
§reply_code: u16§reply_text: String§exchange: String§routing_key: StringTrait Implementations§
Source§impl Method for Return
impl Method for Return
fn decode(method_frame: MethodFrame) -> Result<Self>where
Self: Sized,
fn encode(&self) -> Result<EncodedMethod>
fn name(&self) -> &'static str
fn id(&self) -> u16
fn class_id(&self) -> u16
fn encode_method_frame(&self) -> Result<FramePayload>
fn to_frame(&self, channel: u16) -> Result<Frame>
impl Send for Return
impl StructuralPartialEq for Return
Auto Trait Implementations§
impl Freeze for Return
impl RefUnwindSafe for Return
impl Sync for Return
impl Unpin for Return
impl UnwindSafe for Return
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more