ServicePortGetExt

Trait ServicePortGetExt 

Source
pub trait ServicePortGetExt {
    // Required method
    fn myself(&self) -> &ServicePort;

    // Provided methods
    fn name(&self) -> Option<&str> { ... }
    fn port(&self) -> i32 { ... }
    fn target_port(&self) -> Option<&IntOrString> { ... }
    fn node_port(&self) -> Option<i32> { ... }
    fn app_protocol(&self) -> Option<&str> { ... }
    fn protocol(&self) -> Option<&str> { ... }
}

Required Methods§

Provided Methods§

Source

fn name(&self) -> Option<&str>

Source

fn port(&self) -> i32

Source

fn target_port(&self) -> Option<&IntOrString>

Source

fn node_port(&self) -> Option<i32>

Source

fn app_protocol(&self) -> Option<&str>

Source

fn protocol(&self) -> Option<&str>

Implementors§