Trait portus::DatapathTrait
source · pub trait DatapathTrait {
// Required methods
fn get_sock_id(&self) -> u32;
fn set_program(
&mut self,
program_name: &'static str,
fields: Option<&[(&str, u32)]>
) -> Result<Scope>;
fn update_field(&self, sc: &Scope, update: &[(&str, u32)]) -> Result<()>;
}
Expand description
A collection of methods to interact with the datapath.