pub struct CodexWebSocketDebugStats {Show 14 fields
pub requests: u64,
pub connections_created: u64,
pub connections_reused: u64,
pub cached_context_requests: u64,
pub store_true_requests: u64,
pub full_context_requests: u64,
pub delta_requests: u64,
pub last_input_items: u64,
pub last_delta_input_items: Option<u64>,
pub last_previous_response_id: Option<String>,
pub websocket_failures: u64,
pub sse_fallbacks: u64,
pub websocket_fallback_active: Option<bool>,
pub last_websocket_error: Option<String>,
}Fields§
§requests: u64§connections_created: u64§connections_reused: u64§cached_context_requests: u64§store_true_requests: u64§full_context_requests: u64§delta_requests: u64§last_input_items: u64§last_delta_input_items: Option<u64>§last_previous_response_id: Option<String>§websocket_failures: u64§sse_fallbacks: u64§websocket_fallback_active: Option<bool>§last_websocket_error: Option<String>Trait Implementations§
Source§impl Clone for CodexWebSocketDebugStats
impl Clone for CodexWebSocketDebugStats
Source§fn clone(&self) -> CodexWebSocketDebugStats
fn clone(&self) -> CodexWebSocketDebugStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CodexWebSocketDebugStats
impl Debug for CodexWebSocketDebugStats
Source§impl Default for CodexWebSocketDebugStats
impl Default for CodexWebSocketDebugStats
Source§fn default() -> CodexWebSocketDebugStats
fn default() -> CodexWebSocketDebugStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CodexWebSocketDebugStats
impl RefUnwindSafe for CodexWebSocketDebugStats
impl Send for CodexWebSocketDebugStats
impl Sync for CodexWebSocketDebugStats
impl Unpin for CodexWebSocketDebugStats
impl UnsafeUnpin for CodexWebSocketDebugStats
impl UnwindSafe for CodexWebSocketDebugStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 moreCreates a shared type from an unshared type.