pub struct ConsumeOk {
pub consumer_tag: String,
}Fields§
§consumer_tag: StringTrait Implementations§
Source§impl Method for ConsumeOk
impl Method for ConsumeOk
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 ConsumeOk
impl StructuralPartialEq for ConsumeOk
Auto Trait Implementations§
impl Freeze for ConsumeOk
impl RefUnwindSafe for ConsumeOk
impl Sync for ConsumeOk
impl Unpin for ConsumeOk
impl UnwindSafe for ConsumeOk
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