pub enum MessageId {
Ulong(u64),
Uuid(Uuid),
Binary(Bytes),
String(ByteString),
}
Variants§
Trait Implementations§
Source§impl From<ByteString> for MessageId
impl From<ByteString> for MessageId
Source§fn from(original: ByteString) -> MessageId
fn from(original: ByteString) -> MessageId
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