pub struct SourceHealth {
pub connected: bool,
pub frames_delivered: u64,
pub frames_rejected: u64,
pub status: Option<String>,
}Expand description
Health snapshot for a source (returned by CsiSource::health and the
rvcsi health CLI / rvcsi_health_report MCP tool).
Fields§
§connected: booltrue while the source is producing frames.
frames_delivered: u64Frames delivered since the session started.
frames_rejected: u64Frames rejected by validation since the session started.
status: Option<String>Optional human-readable status / last error.
Implementations§
Trait Implementations§
Source§impl Clone for SourceHealth
impl Clone for SourceHealth
Source§fn clone(&self) -> SourceHealth
fn clone(&self) -> SourceHealth
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 SourceHealth
impl Debug for SourceHealth
Source§impl<'de> Deserialize<'de> for SourceHealth
impl<'de> Deserialize<'de> for SourceHealth
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
Source§impl PartialEq for SourceHealth
impl PartialEq for SourceHealth
Source§fn eq(&self, other: &SourceHealth) -> bool
fn eq(&self, other: &SourceHealth) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SourceHealth
impl Serialize for SourceHealth
impl Eq for SourceHealth
impl StructuralPartialEq for SourceHealth
Auto Trait Implementations§
impl Freeze for SourceHealth
impl RefUnwindSafe for SourceHealth
impl Send for SourceHealth
impl Sync for SourceHealth
impl Unpin for SourceHealth
impl UnsafeUnpin for SourceHealth
impl UnwindSafe for SourceHealth
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