Skip to main content

connection_detect_transport

Function connection_detect_transport 

Source
pub fn connection_detect_transport(
    connection: &NativeConnection,
) -> NativeTransportType
Expand description

Returns the transport kind currently attached to a connection.

§Parameters

§Returns

Returns the computed value produced by crate::connection::connection_detect_transport.

§Examples

ⓘ
let _result = pharos_runtime_core::connection::connection_detect_transport(todo!());