pub struct DBusBrokerPeerAccounting {Show 15 fields
pub id: String,
pub well_known_name: Option<String>,
pub unix_user_id: Option<u32>,
pub process_id: Option<u32>,
pub unix_group_ids: Option<Vec<u32>>,
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
Per-peer resource accounting from dbus-broker’s PeerAccounting stats. Each peer represents a single D-Bus connection identified by a unique bus name.
Fields§
§id: StringUnique D-Bus connection name (e.g. “:1.42”)
well_known_name: Option<String>Well-known bus name owned by this peer, if any (e.g. “org.freedesktop.NetworkManager”)
unix_user_id: Option<u32>Unix UID of the process owning this D-Bus connection
process_id: Option<u32>PID of the process owning this D-Bus connection
unix_group_ids: Option<Vec<u32>>Unix supplementary group IDs of the process owning this connection
name_objects: Option<u32>Number of bus name objects held by this peer
match_bytes: Option<u32>Bytes consumed by match rules registered by this peer
matches: Option<u32>Number of match rules registered by this peer for signal filtering
reply_objects: Option<u32>Number of pending reply objects (outstanding method calls awaiting replies)
incoming_bytes: Option<u32>Total bytes received by this peer from the bus
incoming_fds: Option<u32>Total file descriptors received by this peer via D-Bus fd-passing
outgoing_bytes: Option<u32>Total bytes sent by this peer to the bus
outgoing_fds: Option<u32>Total file descriptors sent by this peer via D-Bus fd-passing
activation_request_bytes: Option<u32>Bytes used for D-Bus activation requests by this peer
activation_request_fds: Option<u32>File descriptors used for D-Bus activation requests by this peer
Implementations§
Trait Implementations§
Source§impl Clone for DBusBrokerPeerAccounting
impl Clone for DBusBrokerPeerAccounting
Source§fn clone(&self) -> DBusBrokerPeerAccounting
fn clone(&self) -> DBusBrokerPeerAccounting
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DBusBrokerPeerAccounting
impl Debug for DBusBrokerPeerAccounting
Source§impl Default for DBusBrokerPeerAccounting
impl Default for DBusBrokerPeerAccounting
Source§fn default() -> DBusBrokerPeerAccounting
fn default() -> DBusBrokerPeerAccounting
Source§impl<'de> Deserialize<'de> for DBusBrokerPeerAccounting
impl<'de> Deserialize<'de> for DBusBrokerPeerAccounting
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>,
Source§impl PartialEq for DBusBrokerPeerAccounting
impl PartialEq for DBusBrokerPeerAccounting
Source§impl Serialize for DBusBrokerPeerAccounting
impl Serialize for DBusBrokerPeerAccounting
impl Eq for DBusBrokerPeerAccounting
impl StructuralPartialEq for DBusBrokerPeerAccounting
Auto Trait Implementations§
impl Freeze for DBusBrokerPeerAccounting
impl RefUnwindSafe for DBusBrokerPeerAccounting
impl Send for DBusBrokerPeerAccounting
impl Sync for DBusBrokerPeerAccounting
impl Unpin for DBusBrokerPeerAccounting
impl UnwindSafe for DBusBrokerPeerAccounting
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.