#[repr(C)]pub struct rmw_network_flow_endpoint_t {
pub transport_protocol: Type,
pub internet_protocol: Type,
pub transport_port: u16,
pub flow_label: u32,
pub dscp: u8,
pub internet_address: [c_char; 48],
}Expand description
One network flow endpoint — upstream rmw_network_flow_endpoint_t, field
for field. Unlike the graph structs this one carries no pointers, so it
costs nothing to mirror exactly and a caller may copy it wholesale.
Fields§
§transport_protocol: Type§internet_protocol: Type§transport_port: u16§flow_label: u32Publisher-side only; 0 elsewhere.
dscp: u8Differentiated Services Code Point. Publisher-side only; 0 elsewhere.
internet_address: [c_char; 48]Trait Implementations§
Source§impl Clone for rmw_network_flow_endpoint_t
impl Clone for rmw_network_flow_endpoint_t
Source§fn clone(&self) -> rmw_network_flow_endpoint_t
fn clone(&self) -> rmw_network_flow_endpoint_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for rmw_network_flow_endpoint_t
Auto Trait Implementations§
impl Freeze for rmw_network_flow_endpoint_t
impl RefUnwindSafe for rmw_network_flow_endpoint_t
impl Send for rmw_network_flow_endpoint_t
impl Sync for rmw_network_flow_endpoint_t
impl Unpin for rmw_network_flow_endpoint_t
impl UnsafeUnpin for rmw_network_flow_endpoint_t
impl UnwindSafe for rmw_network_flow_endpoint_t
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