#[repr(C)]pub struct MatchedStatus {
pub total_count: u32,
pub total_count_change: u32,
pub current_count: u32,
pub current_count_change: i32,
}Expand description
Matched payload — upstream rmw_matched_status_t (Iron+), issue 1972.
Same four fields in upstream’s order. The counts are u32 where upstream
has size_t, like every other count on this surface.
Fields§
§total_count: u32Cumulative matches over the entity’s lifetime.
total_count_change: u32Change in total_count since the last report.
current_count: u32Endpoints matched right now.
current_count_change: i32Change in current_count since the last report (negative when an
endpoint left).
Trait Implementations§
Source§impl Clone for MatchedStatus
impl Clone for MatchedStatus
Source§fn clone(&self) -> MatchedStatus
fn clone(&self) -> MatchedStatus
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 moreimpl Copy for MatchedStatus
Source§impl Debug for MatchedStatus
impl Debug for MatchedStatus
Source§impl Default for MatchedStatus
impl Default for MatchedStatus
Source§fn default() -> MatchedStatus
fn default() -> MatchedStatus
Returns the “default value” for a type. Read more
impl Eq for MatchedStatus
Source§impl PartialEq for MatchedStatus
impl PartialEq for MatchedStatus
impl StructuralPartialEq for MatchedStatus
Auto Trait Implementations§
impl Freeze for MatchedStatus
impl RefUnwindSafe for MatchedStatus
impl Send for MatchedStatus
impl Sync for MatchedStatus
impl Unpin for MatchedStatus
impl UnsafeUnpin for MatchedStatus
impl UnwindSafe for MatchedStatus
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