pub struct OpticalSfpQsfp {
pub module_id: u32,
pub module_num_lanes: u32,
pub module_supply_voltage: u32,
pub module_temperature: i32,
pub lanes: Vec<Lane>,
}Expand description
Optical SFP/QSFP Counters - Format (0,10)
Optical interface module statistics for pluggable optical modules (SFP, QSFP, etc.)
§XDR Definition (sFlow Optics)
/* Optical SFP / QSFP metrics */
/* opaque = counter_data; enterprise=0; format=10 */
struct sfp {
unsigned int module_id;
unsigned int module_num_lanes; /* total number of lanes in module */
unsigned int module_supply_voltage; /* millivolts */
int module_temperature; /* thousandths of a degree Celsius */
lane<> lanes;
}Fields§
§module_id: u32Module identifier (ifIndex of module or lowest ifIndex of ports sharing module)
module_num_lanes: u32Total number of lanes in module
module_supply_voltage: u32Module supply voltage in millivolts
module_temperature: i32Module temperature in thousandths of a degree Celsius
lanes: Vec<Lane>Array of optical lane statistics
Trait Implementations§
Source§impl Clone for OpticalSfpQsfp
impl Clone for OpticalSfpQsfp
Source§fn clone(&self) -> OpticalSfpQsfp
fn clone(&self) -> OpticalSfpQsfp
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 OpticalSfpQsfp
impl Debug for OpticalSfpQsfp
Source§impl PartialEq for OpticalSfpQsfp
impl PartialEq for OpticalSfpQsfp
impl Eq for OpticalSfpQsfp
impl StructuralPartialEq for OpticalSfpQsfp
Auto Trait Implementations§
impl Freeze for OpticalSfpQsfp
impl RefUnwindSafe for OpticalSfpQsfp
impl Send for OpticalSfpQsfp
impl Sync for OpticalSfpQsfp
impl Unpin for OpticalSfpQsfp
impl UnwindSafe for OpticalSfpQsfp
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