Struct libccp::DatapathBuilder [−][src]
pub struct DatapathBuilder<T> { /* fields omitted */ }
Expand description
Construct a datapath object.
Example
struct Dp; impl libccp::DatapathOps for Dp { fn send_msg(&mut self, msg: &[u8]) { println!("sent message: {:?}", msg); } } fn main() { let dp = Dp; libccp::DatapathBuilder::default().with_ops(dp).with_id(57).init(); }
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for DatapathBuilder<T> where
T: RefUnwindSafe,
impl<T> Send for DatapathBuilder<T> where
T: Send,
impl<T> Sync for DatapathBuilder<T> where
T: Sync,
impl<T> Unpin for DatapathBuilder<T> where
T: Unpin,
impl<T> UnwindSafe for DatapathBuilder<T> where
T: UnwindSafe,