pub struct DBusBrokerCGroupAccounting {
pub name: String,
pub name_objects: Option<u32>,
pub match_bytes: Option<u32>,
pub matches: Option<u32>,
pub reply_objects: Option<u32>,
pub incoming_bytes: Option<u32>,
pub incoming_fds: Option<u32>,
pub outgoing_bytes: Option<u32>,
pub outgoing_fds: Option<u32>,
pub activation_request_bytes: Option<u32>,
pub activation_request_fds: Option<u32>,
}Expand description
Aggregated D-Bus resource accounting grouped by cgroup. Not directly present in dbus-broker stats; computed by summing peer stats that share a cgroup. Grouping by cgroup reduces metric cardinality while still identifying abusive clients.
Fields§
§name: StringCgroup path with slashes replaced by dashes (e.g. “system.slice-sshd.service”)
name_objects: Option<u32>Total bus name objects held by peers in this cgroup
match_bytes: Option<u32>Total bytes consumed by match rules from peers in this cgroup
matches: Option<u32>Total match rules registered by peers in this cgroup
reply_objects: Option<u32>Total pending reply objects from peers in this cgroup
incoming_bytes: Option<u32>Total bytes received by peers in this cgroup
incoming_fds: Option<u32>Total file descriptors received by peers in this cgroup
outgoing_bytes: Option<u32>Total bytes sent by peers in this cgroup
outgoing_fds: Option<u32>Total file descriptors sent by peers in this cgroup
activation_request_bytes: Option<u32>Total activation request bytes from peers in this cgroup
activation_request_fds: Option<u32>Total activation request file descriptors from peers in this cgroup
Implementations§
Source§impl DBusBrokerCGroupAccounting
impl DBusBrokerCGroupAccounting
pub fn combine_with_peer(&mut self, peer: &DBusBrokerPeerAccounting)
Trait Implementations§
Source§impl Clone for DBusBrokerCGroupAccounting
impl Clone for DBusBrokerCGroupAccounting
Source§fn clone(&self) -> DBusBrokerCGroupAccounting
fn clone(&self) -> DBusBrokerCGroupAccounting
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DBusBrokerCGroupAccounting
impl Debug for DBusBrokerCGroupAccounting
Source§impl Default for DBusBrokerCGroupAccounting
impl Default for DBusBrokerCGroupAccounting
Source§fn default() -> DBusBrokerCGroupAccounting
fn default() -> DBusBrokerCGroupAccounting
Source§impl<'de> Deserialize<'de> for DBusBrokerCGroupAccounting
impl<'de> Deserialize<'de> for DBusBrokerCGroupAccounting
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>,
impl Eq for DBusBrokerCGroupAccounting
impl StructuralPartialEq for DBusBrokerCGroupAccounting
Auto Trait Implementations§
impl Freeze for DBusBrokerCGroupAccounting
impl RefUnwindSafe for DBusBrokerCGroupAccounting
impl Send for DBusBrokerCGroupAccounting
impl Sync for DBusBrokerCGroupAccounting
impl Unpin for DBusBrokerCGroupAccounting
impl UnwindSafe for DBusBrokerCGroupAccounting
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.