Struct af_packet::Block [] [src]

pub struct Block<'a> { /* fields omitted */ }

Contains a reference to a block as it exists in the ring buffer, its block descriptor, and a Vec of individual packets in that block.

Methods

impl<'a> Block<'a>
[src]

[src]

Marks a block as free to be destroyed by the kernel

[src]

Returns a Vec of details and references to raw packets that can be read from the ring buffer

Trait Implementations

impl<'a> Debug for Block<'a>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for Block<'a>

impl<'a> Sync for Block<'a>