pub enum MessageId {
Ulong(u64),
Uuid(Uuid),
Binary(Bytes),
String(ByteString),
}
Variants§
Trait Implementations§
Source§impl DecodeFormatted for MessageId
impl DecodeFormatted for MessageId
fn decode_with_format( input: &mut Bytes, fmt: u8, ) -> Result<Self, AmqpParseError>
Source§impl From<ByteString> for MessageId
impl From<ByteString> for MessageId
Source§fn from(value: ByteString) -> Self
fn from(value: ByteString) -> Self
Converts to this type from the input type.
impl Eq for MessageId
impl StructuralPartialEq for MessageId
Auto Trait Implementations§
impl Freeze for MessageId
impl !RefUnwindSafe for MessageId
impl Send for MessageId
impl Sync for MessageId
impl Unpin for MessageId
impl !UnwindSafe for MessageId
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