Skip to main content

request_profile_outcome

Function request_profile_outcome 

Source
pub async fn request_profile_outcome(
    stream: &mut (impl AsyncRead + AsyncWrite + Unpin),
    window: ProfileWindow,
) -> Result<ReadOutcome>
Expand description

Issue the read and distinguish a complete gateway report from transport errors. A response can be trusted only when the caller authenticated the stream.