get_stream_koid

Function get_stream_koid 

Source
pub fn get_stream_koid(
    stream: WakeAlarmsRequestStream,
) -> (Koid, WakeAlarmsRequestStream)
Expand description

Extracts a KOID from the underlying channel of the provided stream.

This function deconstructs the provided stream to access the underlying channel and extract its KOID. It then reconstructs the stream and returns it to the caller along with the KOID.

§Args

  • stream: The fta::WakeAlarmsRequestStream to extract the KOID from.

§Returns

A tuple containing the zx::Koid of the stream’s channel and the reconstructed fta::WakeAlarmsRequestStream.