Function get_port_state_str

Source
pub fn get_port_state_str(state: Type) -> String
Expand description

Converts the given port state to a human-readable string.

§Arguments

  • state - The port state as defined by ffi::ibv_port_state::Type.

§Returns

A string representation of the port state.