pub enum Section {
Header(Header),
DeliveryAnnotations(VecSymbolMap),
MessageAnnotations(VecSymbolMap),
ApplicationProperties(VecStringMap),
Data(Bytes),
AmqpSequence(List),
AmqpValue(Variant),
Footer(Annotations),
Properties(Properties),
}
Variants§
Header(Header)
DeliveryAnnotations(VecSymbolMap)
MessageAnnotations(VecSymbolMap)
ApplicationProperties(VecStringMap)
Data(Bytes)
AmqpSequence(List)
AmqpValue(Variant)
Properties(Properties)
Trait Implementations§
Source§impl DecodeFormatted for Section
impl DecodeFormatted for Section
fn decode_with_format( input: &mut Bytes, fmt: u8, ) -> Result<Self, AmqpParseError>
impl Eq for Section
impl StructuralPartialEq for Section
Auto Trait Implementations§
impl Freeze for Section
impl !RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl !UnwindSafe for Section
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