pub struct Transfer(pub Box<TransferInner>);
Tuple Fields§
§0: Box<TransferInner>
Implementations§
Source§impl Transfer
impl Transfer
pub fn build() -> TransferBuilder
pub fn handle(&self) -> Handle
pub fn handle_mut(&mut self) -> &mut Handle
pub fn delivery_id(&self) -> Option<DeliveryNumber>
pub fn delivery_id_mut(&mut self) -> &mut Option<DeliveryNumber>
pub fn delivery_tag(&self) -> Option<&DeliveryTag>
pub fn delivery_tag_mut(&mut self) -> &mut Option<DeliveryTag>
pub fn message_format(&self) -> Option<MessageFormat>
pub fn message_format_mut(&mut self) -> &mut Option<MessageFormat>
pub fn settled(&self) -> Option<bool>
pub fn settled_mut(&mut self) -> &mut Option<bool>
pub fn more(&self) -> bool
pub fn more_mut(&mut self) -> &mut bool
pub fn rcv_settle_mode(&self) -> Option<ReceiverSettleMode>
pub fn rcv_settle_mode_mut(&mut self) -> &mut Option<ReceiverSettleMode>
pub fn state(&self) -> Option<&DeliveryState>
pub fn state_mut(&mut self) -> &mut Option<DeliveryState>
pub fn resume(&self) -> bool
pub fn resume_mut(&mut self) -> &mut bool
pub fn aborted(&self) -> bool
pub fn aborted_mut(&mut self) -> &mut bool
pub fn batchable(&self) -> bool
pub fn batchable_mut(&mut self) -> &mut bool
pub fn body(&self) -> Option<&TransferBody>
pub fn into_inner(self) -> Box<TransferInner>
Trait Implementations§
Source§impl DecodeFormatted for Transfer
impl DecodeFormatted for Transfer
fn decode_with_format( input: &mut Bytes, fmt: u8, ) -> Result<Self, AmqpParseError>
impl Eq for Transfer
impl StructuralPartialEq for Transfer
Auto Trait Implementations§
impl Freeze for Transfer
impl !RefUnwindSafe for Transfer
impl Send for Transfer
impl !Sync for Transfer
impl Unpin for Transfer
impl !UnwindSafe for Transfer
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