pub struct AdapterRuntimeStatus {
pub name: String,
pub role: String,
pub transport: String,
pub connection_state: String,
pub message_count: u64,
pub recent_failures: u64,
pub last_error: Option<String>,
pub lag: Option<u64>,
pub details: Map<String, Value>,
}Expand description
Snapshot-ready runtime status for one adapter endpoint.
Fields§
§name: StringStable adapter name for logs/ops.
role: StringEndpoint role within the adapter loop.
transport: StringAdapter transport family.
connection_state: StringLast observed connection/runtime state.
message_count: u64Number of messages handled by this endpoint.
recent_failures: u64Number of recent failures observed for this endpoint.
last_error: Option<String>Most recent error string, when available.
lag: Option<u64>Queue/stream lag where the adapter can report it.
details: Map<String, Value>Transport-specific status details for richer operator visibility.
Trait Implementations§
Source§impl Clone for AdapterRuntimeStatus
impl Clone for AdapterRuntimeStatus
Source§fn clone(&self) -> AdapterRuntimeStatus
fn clone(&self) -> AdapterRuntimeStatus
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 AdapterRuntimeStatus
impl Debug for AdapterRuntimeStatus
Source§impl PartialEq for AdapterRuntimeStatus
impl PartialEq for AdapterRuntimeStatus
impl Eq for AdapterRuntimeStatus
impl StructuralPartialEq for AdapterRuntimeStatus
Auto Trait Implementations§
impl Freeze for AdapterRuntimeStatus
impl RefUnwindSafe for AdapterRuntimeStatus
impl Send for AdapterRuntimeStatus
impl Sync for AdapterRuntimeStatus
impl Unpin for AdapterRuntimeStatus
impl UnwindSafe for AdapterRuntimeStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestCreates a shared type from an unshared type.