Skip to main content

probe_stream

Function probe_stream 

Source
pub async fn probe_stream<T>(
    io: T,
    kind: NcpKind,
) -> Result<Option<NcpIdentity>, ProbeError>
where T: AsyncRead + AsyncWrite + Send + 'static,
Expand description

Probe an open stream for kind.