pub struct ExtendedQueueLength {
pub queue_index: u32,
pub queue_length: u32,
}Expand description
Extended Queue Length - Format (0,1019)
Queue length experienced by the sampled packet
§XDR Definition (sFlow Discussion)
/* Extended queue length data
Used to indicate the queue length experienced by the sampled packet.
If the extended_queue_length record is exported, queue_length counter
records must also be exported with the if_counter record.*/
/* opaque = flow_data; enterprise = 0; format = 1019 */
struct extended_queue_length
{
unsigned int queueIndex; /* persistent index within port of queue
used to enqueue sampled packet.
The ifIndex of the port can be inferred
from the data source. */
unsigned int queueLength; /* length of queue, in segments,
experienced by the packet (ie queue length
immediately before the sampled packet is
enqueued). */
}Fields§
§queue_index: u32Persistent index within port of queue used to enqueue sampled packet
queue_length: u32Length of queue, in segments, experienced by the packet (queue length immediately before the sampled packet is enqueued)
Trait Implementations§
Source§impl Clone for ExtendedQueueLength
impl Clone for ExtendedQueueLength
Source§fn clone(&self) -> ExtendedQueueLength
fn clone(&self) -> ExtendedQueueLength
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 ExtendedQueueLength
impl Debug for ExtendedQueueLength
Source§impl PartialEq for ExtendedQueueLength
impl PartialEq for ExtendedQueueLength
impl Eq for ExtendedQueueLength
impl StructuralPartialEq for ExtendedQueueLength
Auto Trait Implementations§
impl Freeze for ExtendedQueueLength
impl RefUnwindSafe for ExtendedQueueLength
impl Send for ExtendedQueueLength
impl Sync for ExtendedQueueLength
impl Unpin for ExtendedQueueLength
impl UnwindSafe for ExtendedQueueLength
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