pub enum AqPayloadKind {
Raw,
Json,
Object,
}Expand description
Payload classification for a queue. Determines the TOID sentinel and the payload-encoding branch taken during enqueue/dequeue.
Variants§
Raw
RAW / bytes payload. TOID sentinel bytes([0]*15 + [0x17]).
Json
JSON payload (OSON). TOID sentinel bytes([0]*15 + [0x47]).
Object
Object payload of a named type. TOID is the type’s OID.
Trait Implementations§
Source§impl Clone for AqPayloadKind
impl Clone for AqPayloadKind
Source§fn clone(&self) -> AqPayloadKind
fn clone(&self) -> AqPayloadKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AqPayloadKind
impl Debug for AqPayloadKind
impl Eq for AqPayloadKind
Source§impl PartialEq for AqPayloadKind
impl PartialEq for AqPayloadKind
Source§fn eq(&self, other: &AqPayloadKind) -> bool
fn eq(&self, other: &AqPayloadKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AqPayloadKind
Auto Trait Implementations§
impl Freeze for AqPayloadKind
impl RefUnwindSafe for AqPayloadKind
impl Send for AqPayloadKind
impl Sync for AqPayloadKind
impl Unpin for AqPayloadKind
impl UnsafeUnpin for AqPayloadKind
impl UnwindSafe for AqPayloadKind
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