Skip to navigation

Struct Diagnostic Cursor

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct DiagnosticCursor {
    pub source_instance_id: Uuid,
    pub sequence: DiagnosticNumber,
    pub component_offset: DiagnosticNumber,
    pub event_offset: DiagnosticNumber,
    pub scope: DiagnosticNumber,
}

Opaque continuation bound to source, capture revision, offsets, and scope.

Scope validation prevents continuation widening; the token is not authority. A host must intersect requested selection with its own authorization scope.

Fields

source_instance_id: Uuid

Source incarnation whose retained state was selected.

sequence: DiagnosticNumber

Source revision for detecting intervening mutations or reclamation.

component_offset: DiagnosticNumber

Next component-instance position in the bounded source ordering.

event_offset: DiagnosticNumber

Next recent-event position in the bounded source ordering.

scope: DiagnosticNumber

Source-validated fingerprint of the intersected query scope.

Trait Implementations

impl Clone for DiagnosticCursor

impl Clone for DiagnosticCursor

clone

fn clone(&self) -> DiagnosticCursor

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for DiagnosticCursor

impl Debug for DiagnosticCursor

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

impl<'de> Deserialize<'de> for DiagnosticCursor

impl<'de> Deserialize<'de> for DiagnosticCursor

deserialize

fn deserialize<__D>(
    __deserializer: __D,
) -> Result<DiagnosticCursor, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,

impl Hash for DiagnosticCursor

impl Hash for DiagnosticCursor

hash

fn hash<__H>(&self, state: &mut __H)where
    __H: Hasher,

hash_slice

fn hash_slice<H>(data: &[Self], state: &mut H)where
    H: Hasher,
    Self: Sized,

impl PartialEq for DiagnosticCursor

impl PartialEq for DiagnosticCursor

eq

fn eq(&self, other: &DiagnosticCursor) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for DiagnosticCursor

impl Serialize for DiagnosticCursor

serialize

fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,

impl Eq for DiagnosticCursor

impl Eq for DiagnosticCursor

impl StructuralPartialEq for DiagnosticCursor

impl StructuralPartialEq for DiagnosticCursor