Struct otdrs::types::KeyEvent [−][src]
pub struct KeyEvent<'a> {}Show fields
pub event_number: i16, pub event_propogation_time: i32, pub attenuation_coefficient_lead_in_fiber: i16, pub event_loss: i16, pub event_reflectance: i32, pub event_code: &'a str, pub loss_measurement_technique: &'a str, pub marker_location_1: i32, pub marker_location_2: i32, pub marker_location_3: i32, pub marker_location_4: i32, pub marker_location_5: i32, pub comment: &'a str,
Expand description
KeyEvents describe a single event along the fibre path detected by the OTDR
Fields
event_number: i16
Event number - this is from 0 to n
event_propogation_time: i32
Event propogation time is the time in 100ps units from the front panel to the event
attenuation_coefficient_lead_in_fiber: i16
The span loss in db/km (as a 5-digit value, i.e. dB*1000) for the fibre entering the event
event_loss: i16
Loss in dB*1000 for the event
event_reflectance: i32
Reflectance in -dB*1000 for the event
event_code: &'a str
Code for the event is a 6-byte string: Byte 1: 0 = nonreflective, 1 = reflective, 2 = saturated reflective Byte 2: A = added by user, M = moved by user, E = end of fibre, F = found by software, O = out of range, D = modified end of fibre Remaining bytes are the Landmark number if used - 9s otherwise
loss_measurement_technique: &'a str
Loss measurement technique - 2P for two point, LS for least squares, OT for other
marker_location_1: i32
Marker location - ML1 is the OTDR side for 2P/LS/OT measurements
marker_location_2: i32
Marker location - ML2 is the OTDR side for LS measurements, and bounds the event for 2P/OT
marker_location_3: i32
Marker location - ML3 is on the far side for LS measurements, and empty for 2P/OT
marker_location_4: i32
Marker location - ML4 is on the far side for LS measurements, and empty for 2P/OT
marker_location_5: i32
Marker location - ML5 is the reflectance calculation position
comment: &'a str
Free comment on the event
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for KeyEvent<'a>
impl<'a> UnwindSafe for KeyEvent<'a>