pub struct SessionStatsFrameBuffer {
pub frame_capacity: u64,
pub frame_mtu: u64,
pub frame_timeout_ms: i64,
pub frames_completed: i64,
pub frames_discarded: i64,
pub frames_emitted: i64,
pub incomplete_frames: u64,
}Expand description
Session frame buffer metrics.
JSON schema
{
"description": "Session frame buffer metrics.",
"type": "object",
"required": [
"frameCapacity",
"frameMtu",
"frameTimeoutMs",
"framesCompleted",
"framesDiscarded",
"framesEmitted",
"incompleteFrames"
],
"properties": {
"frameCapacity": {
"description": "Configured capacity of the frame buffer.",
"type": "integer",
"minimum": 0.0
},
"frameMtu": {
"description": "Maximum Transmission Unit for frames.",
"type": "integer",
"minimum": 0.0
},
"frameTimeoutMs": {
"description": "Configured timeout for frame reassembly/acknowledgement (in milliseconds).",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"framesCompleted": {
"description": "Total number of frames successfully completed/assembled.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"framesDiscarded": {
"description": "Total number of frames discarded (e.g. due to timeout or errors).",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"framesEmitted": {
"description": "Total number of frames emitted to the application.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"incompleteFrames": {
"description": "Number of frames currently being assembled (incomplete).",
"type": "integer",
"minimum": 0.0
}
}
}Fields§
§frame_capacity: u64Configured capacity of the frame buffer.
frame_mtu: u64Maximum Transmission Unit for frames.
frame_timeout_ms: i64Configured timeout for frame reassembly/acknowledgement (in milliseconds).
frames_completed: i64Total number of frames successfully completed/assembled.
frames_discarded: i64Total number of frames discarded (e.g. due to timeout or errors).
frames_emitted: i64Total number of frames emitted to the application.
incomplete_frames: u64Number of frames currently being assembled (incomplete).
Trait Implementations§
Source§impl Clone for SessionStatsFrameBuffer
impl Clone for SessionStatsFrameBuffer
Source§fn clone(&self) -> SessionStatsFrameBuffer
fn clone(&self) -> SessionStatsFrameBuffer
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 SessionStatsFrameBuffer
impl Debug for SessionStatsFrameBuffer
Source§impl<'de> Deserialize<'de> for SessionStatsFrameBuffer
impl<'de> Deserialize<'de> for SessionStatsFrameBuffer
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
Auto Trait Implementations§
impl Freeze for SessionStatsFrameBuffer
impl RefUnwindSafe for SessionStatsFrameBuffer
impl Send for SessionStatsFrameBuffer
impl Sync for SessionStatsFrameBuffer
impl Unpin for SessionStatsFrameBuffer
impl UnwindSafe for SessionStatsFrameBuffer
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,
§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 more