pub struct NodeStats {Show 56 fields
pub started_at: i64,
pub updated_at: i64,
pub num_rooms: i32,
pub num_clients: i32,
pub num_tracks_in: i32,
pub num_tracks_out: i32,
pub num_track_publish_attempts: i32,
pub track_publish_attempts_per_sec: f32,
pub num_track_publish_success: i32,
pub track_publish_success_per_sec: f32,
pub num_track_publish_cancels: i32,
pub num_track_subscribe_attempts: i32,
pub track_subscribe_attempts_per_sec: f32,
pub num_track_subscribe_success: i32,
pub track_subscribe_success_per_sec: f32,
pub num_track_subscribe_cancels: i32,
pub bytes_in: u64,
pub bytes_out: u64,
pub packets_in: u64,
pub packets_out: u64,
pub nack_total: u64,
pub bytes_in_per_sec: f32,
pub bytes_out_per_sec: f32,
pub packets_in_per_sec: f32,
pub packets_out_per_sec: f32,
pub nack_per_sec: f32,
pub num_cpus: u32,
pub load_avg_last1min: f32,
pub load_avg_last5min: f32,
pub load_avg_last15min: f32,
pub cpu_load: f32,
pub memory_load: f32,
pub memory_total: u64,
pub memory_used: u64,
pub sys_packets_out: u32,
pub sys_packets_dropped: u32,
pub sys_packets_out_per_sec: f32,
pub sys_packets_dropped_per_sec: f32,
pub sys_packets_dropped_pct_per_sec: f32,
pub retransmit_bytes_out: u64,
pub retransmit_packets_out: u64,
pub retransmit_bytes_out_per_sec: f32,
pub retransmit_packets_out_per_sec: f32,
pub participant_signal_connected: u64,
pub participant_signal_connected_per_sec: f32,
pub participant_signal_failed: u64,
pub participant_signal_validation_failed: u64,
pub participant_rtc_connected: u64,
pub participant_rtc_connected_per_sec: f32,
pub participant_rtc_init: u64,
pub participant_rtc_init_per_sec: f32,
pub participant_rtc_canceled: u64,
pub participant_rtc_active: u64,
pub forward_latency: u32,
pub forward_jitter: u32,
pub rates: Vec<NodeStatsRate>,
}Fields§
§started_at: i64when server was started
updated_at: i64when server last reported its status
num_rooms: i32room
num_clients: i32§num_tracks_in: i32§num_tracks_out: i32§num_track_publish_attempts: i32§track_publish_attempts_per_sec: f32👎Deprecated
§num_track_publish_success: i32§track_publish_success_per_sec: f32👎Deprecated
§num_track_publish_cancels: i32§num_track_subscribe_attempts: i32§track_subscribe_attempts_per_sec: f32👎Deprecated
§num_track_subscribe_success: i32§track_subscribe_success_per_sec: f32👎Deprecated
§num_track_subscribe_cancels: i32§bytes_in: u64packet
bytes_out: u64§packets_in: u64§packets_out: u64§nack_total: u64§bytes_in_per_sec: f32👎Deprecated
§bytes_out_per_sec: f32👎Deprecated
§packets_in_per_sec: f32§packets_out_per_sec: f32👎Deprecated
§nack_per_sec: f32👎Deprecated
§num_cpus: u32system
load_avg_last1min: f32§load_avg_last5min: f32§load_avg_last15min: f32§cpu_load: f32§memory_load: f32👎Deprecated
§memory_total: u64§memory_used: u64§sys_packets_out: u32§sys_packets_dropped: u32§sys_packets_out_per_sec: f32👎Deprecated
§sys_packets_dropped_per_sec: f32👎Deprecated
§sys_packets_dropped_pct_per_sec: f32👎Deprecated
§retransmit_bytes_out: u64retransmissions
retransmit_packets_out: u64§retransmit_bytes_out_per_sec: f32👎Deprecated
§retransmit_packets_out_per_sec: f32👎Deprecated
§participant_signal_connected: u64participant joins
participant_signal_connected_per_sec: f32👎Deprecated
§participant_signal_failed: u64👎Deprecated
§participant_signal_validation_failed: u64👎Deprecated
§participant_rtc_connected: u64§participant_rtc_connected_per_sec: f32👎Deprecated
§participant_rtc_init: u64§participant_rtc_init_per_sec: f32👎Deprecated
§participant_rtc_canceled: u64§participant_rtc_active: u64§forward_latency: u32forward metrics
forward_jitter: u32👎Deprecated
§rates: Vec<NodeStatsRate>Trait Implementations§
§impl<'de> Deserialize<'de> for NodeStats
impl<'de> Deserialize<'de> for NodeStats
§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 Message for NodeStats
impl Message for NodeStats
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.impl StructuralPartialEq for NodeStats
Auto Trait Implementations§
impl Freeze for NodeStats
impl RefUnwindSafe for NodeStats
impl Send for NodeStats
impl Sync for NodeStats
impl Unpin for NodeStats
impl UnsafeUnpin for NodeStats
impl UnwindSafe for NodeStats
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