pub struct OpenFlowPort {
pub datapath_id: u64,
pub port_no: u32,
}Expand description
OpenFlow Port - Format (0,1004)
OpenFlow port statistics
§XDR Definition (sFlow OpenFlow)
/* OpenFlow port */
/* opaque = counter_data; enterprise = 0; format = 1004 */
struct of_port {
unsigned hyper datapath_id;
unsigned int port_no;
}Fields§
§datapath_id: u64Datapath ID
port_no: u32Port number
Trait Implementations§
Source§impl Clone for OpenFlowPort
impl Clone for OpenFlowPort
Source§fn clone(&self) -> OpenFlowPort
fn clone(&self) -> OpenFlowPort
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 OpenFlowPort
impl Debug for OpenFlowPort
Source§impl PartialEq for OpenFlowPort
impl PartialEq for OpenFlowPort
impl Eq for OpenFlowPort
impl StructuralPartialEq for OpenFlowPort
Auto Trait Implementations§
impl Freeze for OpenFlowPort
impl RefUnwindSafe for OpenFlowPort
impl Send for OpenFlowPort
impl Sync for OpenFlowPort
impl Unpin for OpenFlowPort
impl UnwindSafe for OpenFlowPort
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