pub struct Lane {
    pub index: u32,
    pub tx_bias_current: u32,
    pub tx_power: u32,
    pub tx_power_min: u32,
    pub tx_power_max: u32,
    pub tx_wavelength: u32,
    pub rx_power: u32,
    pub rx_power_min: u32,
    pub rx_power_max: u32,
    pub rx_wavelength: u32,
}Expand description
Optical Lane
Optical lane statistics for a single lane within an optical module
§XDR Definition (sFlow Optics)
struct lane {
  unsigned int index; /* 1-based index of lane within module, 0=unknown */
  unsigned int tx_bias_current; /* microamps */
  unsigned int tx_power;        /* microwatts */
  unsigned int tx_power_min;    /* microwatts */
  unsigned int tx_power_max;    /* microwatts */
  unsigned int tx_wavelength;   /* nanometers */
  unsigned int rx_power;        /* microwatts */
  unsigned int rx_power_min;    /* microwatts */
  unsigned int rx_power_max;    /* microwatts */
  unsigned int rx_wavelength;   /* nanometers */
}Fields§
§index: u321-based index of lane within module, 0=unknown
tx_bias_current: u32Transmit bias current in microamps
tx_power: u32Transmit power in microwatts
tx_power_min: u32Minimum transmit power in microwatts
tx_power_max: u32Maximum transmit power in microwatts
tx_wavelength: u32Transmit wavelength in nanometers
rx_power: u32Receive power in microwatts
rx_power_min: u32Minimum receive power in microwatts
rx_power_max: u32Maximum receive power in microwatts
rx_wavelength: u32Receive wavelength in nanometers
Trait Implementations§
impl Eq for Lane
impl StructuralPartialEq for Lane
Auto Trait Implementations§
impl Freeze for Lane
impl RefUnwindSafe for Lane
impl Send for Lane
impl Sync for Lane
impl Unpin for Lane
impl UnwindSafe for Lane
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