pub struct HandleOpaque(/* private fields */);Expand description
Backend-private opaque payload carried inside a Handle.
Encodes backend-specific state (on Valkey: exec id, attempt id, lease id, lease epoch, capability binding, partition). Consumers do not construct or inspect the bytes — they are produced by the backend on claim/resume and consumed by the backend on each op.
Box<[u8]> chosen over bytes::Bytes (RFC-012 §7.17) to avoid a
public-type transitive dep on the bytes crate.
Implementations§
Trait Implementations§
Source§impl Clone for HandleOpaque
impl Clone for HandleOpaque
Source§fn clone(&self) -> HandleOpaque
fn clone(&self) -> HandleOpaque
Returns a duplicate of the value. Read more
1.0.0 · 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 HandleOpaque
impl Debug for HandleOpaque
Source§impl Hash for HandleOpaque
impl Hash for HandleOpaque
Source§impl PartialEq for HandleOpaque
impl PartialEq for HandleOpaque
impl Eq for HandleOpaque
impl StructuralPartialEq for HandleOpaque
Auto Trait Implementations§
impl Freeze for HandleOpaque
impl RefUnwindSafe for HandleOpaque
impl Send for HandleOpaque
impl Sync for HandleOpaque
impl Unpin for HandleOpaque
impl UnsafeUnpin for HandleOpaque
impl UnwindSafe for HandleOpaque
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