Function wait_object

Source
pub async fn wait_object<R: AsyncRead + Unpin, O: DeserializeOwned, const MAX_SIZE: usize>(
    reader: &mut R,
) -> Result<O>