Skip to navigation

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -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,
}

Referenced types: Uuid, 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

Referenced types: Clone, DiagnosticCursor

clone

fn clone(&self) -> DiagnosticCursor

Referenced types: clone, DiagnosticCursor

clone_from

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

Referenced types: clone_from

impl Debug for DiagnosticCursor

impl Debug for DiagnosticCursor

Referenced types: Debug, DiagnosticCursor

fmt

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

Referenced types: fmt, Formatter, Result, (), Error

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

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

Referenced types: Deserialize, DiagnosticCursor

deserialize

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

Referenced types: deserialize, Result, DiagnosticCursor, Deserializer, Error

impl Hash for DiagnosticCursor

impl Hash for DiagnosticCursor

Referenced types: Hash, DiagnosticCursor

hash

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

Referenced types: hash, &mut __H, Hasher

hash_slice

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

Referenced types: hash_slice, &mut H, Hasher, Sized

impl JsonSchema for DiagnosticCursor

impl JsonSchema for DiagnosticCursor

Referenced types: DiagnosticCursor

schema_name

fn schema_name() -> String

Referenced types: String

schema_id

fn schema_id() -> Cow<'static, str>

Referenced types: Cow, str

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

is_referenceable

fn is_referenceable() -> bool

Referenced types: bool

impl PartialEq for DiagnosticCursor

impl PartialEq for DiagnosticCursor

Referenced types: PartialEq, DiagnosticCursor

eq

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

Referenced types: eq, DiagnosticCursor, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Serialize for DiagnosticCursor

impl Serialize for DiagnosticCursor

Referenced types: Serialize, DiagnosticCursor

serialize

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

Referenced types: serialize, Result, Serializer, Ok, Error

impl WireValue<Box<DiagnosticCursor>> for DiagnosticCursor

impl WireValue<Box<DiagnosticCursor>> for DiagnosticCursor

Referenced types: WireValue, Box, DiagnosticCursor, DiagnosticCursor

to_wire

fn to_wire(self) -> Result<Box<DiagnosticCursor>, ConversionError>

Referenced types: to_wire, Result, Box, DiagnosticCursor, ConversionError

from_wire

fn from_wire(
value: Box<DiagnosticCursor>,
) -> Result<DiagnosticCursor, ConversionError>

Referenced types: from_wire, Box, DiagnosticCursor, Result, DiagnosticCursor, ConversionError

impl WireValue<DiagnosticCursor> for DiagnosticCursor

impl WireValue<DiagnosticCursor> for DiagnosticCursor

Referenced types: WireValue, DiagnosticCursor, DiagnosticCursor

to_wire

fn to_wire(self) -> Result<DiagnosticCursor, ConversionError>

Referenced types: to_wire, Result, DiagnosticCursor, ConversionError

from_wire

fn from_wire(
value: DiagnosticCursor,
) -> Result<DiagnosticCursor, ConversionError>

Referenced types: from_wire, DiagnosticCursor, Result, DiagnosticCursor, ConversionError

impl Eq for DiagnosticCursor

impl Eq for DiagnosticCursor

Referenced types: Eq, DiagnosticCursor

impl StructuralPartialEq for DiagnosticCursor

impl StructuralPartialEq for DiagnosticCursor

Referenced types: StructuralPartialEq, DiagnosticCursor