pub struct HostParent {
pub container_type: u32,
pub container_index: u32,
}Expand description
Host Parent - Format (0,2002)
Containment hierarchy between logical and physical entities
§XDR Definition (sFlow Host)
/* Define containment hierarchy */
/* opaque = counter_data; enterprise = 0; format = 2002 */
struct host_parent {
unsigned int container_type; /* sFlowDataSource type */
unsigned int container_index; /* sFlowDataSource index */
}Fields§
§container_type: u32Container type (e.g., “docker”, “lxc”)
container_index: u32Container index
Trait Implementations§
Source§impl Clone for HostParent
impl Clone for HostParent
Source§fn clone(&self) -> HostParent
fn clone(&self) -> HostParent
Returns a duplicate of the value. Read more
1.0.0 · 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 HostParent
impl Debug for HostParent
Source§impl PartialEq for HostParent
impl PartialEq for HostParent
impl Eq for HostParent
impl StructuralPartialEq for HostParent
Auto Trait Implementations§
impl Freeze for HostParent
impl RefUnwindSafe for HostParent
impl Send for HostParent
impl Sync for HostParent
impl Unpin for HostParent
impl UnwindSafe for HostParent
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