pub struct QueueLocator {
pub version: u8,
pub lease_id: u128,
pub base_offset: u64,
pub generation: u64,
}Expand description
Locator for a ring buffer (queue) in a memory lease.
Points to a queue structure at base_offset within the lease identified
by lease_id. The generation field tracks queue resets — consumers
must re-sync when the generation changes.
Fields§
§version: u8Schema version for this locator type.
lease_id: u128Fabric lease identifier that backs the queue.
base_offset: u64Base byte offset for queue metadata/payload.
generation: u64Queue generation used for stale-consumer detection.
Implementations§
Trait Implementations§
Source§impl Clone for QueueLocator
impl Clone for QueueLocator
Source§fn clone(&self) -> QueueLocator
fn clone(&self) -> QueueLocator
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 QueueLocator
impl Debug for QueueLocator
Source§impl<'de> Deserialize<'de> for QueueLocator
impl<'de> Deserialize<'de> for QueueLocator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for QueueLocator
impl PartialEq for QueueLocator
Source§impl Serialize for QueueLocator
impl Serialize for QueueLocator
impl StructuralPartialEq for QueueLocator
Auto Trait Implementations§
impl Freeze for QueueLocator
impl RefUnwindSafe for QueueLocator
impl Send for QueueLocator
impl Sync for QueueLocator
impl Unpin for QueueLocator
impl UnwindSafe for QueueLocator
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