pub struct Bind {
pub ticket: u16,
pub queue: String,
pub exchange: String,
pub routing_key: String,
pub nowait: bool,
pub arguments: HashMap<String, TableEntry>,
}
Fields§
§ticket: u16
§queue: String
§exchange: String
§routing_key: String
§nowait: bool
§arguments: HashMap<String, TableEntry>
Trait Implementations§
Source§impl Method for Bind
impl Method for Bind
fn decode(method_frame: MethodFrame) -> Result<Bind, Error>
fn encode(&self) -> Result<EncodedMethod, Error>
fn name(&self) -> &'static str
fn id(&self) -> u16
fn class_id(&self) -> u16
fn encode_method_frame(&self) -> Result<FramePayload, Error>
fn to_frame(&self, channel: u16) -> Result<Frame, Error>
impl Send for Bind
impl StructuralPartialEq for Bind
Auto Trait Implementations§
impl Freeze for Bind
impl RefUnwindSafe for Bind
impl Sync for Bind
impl Unpin for Bind
impl UnwindSafe for Bind
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