Skip to main content

read_message

Function read_message 

pub(crate) async fn read_message<T: DeserializeOwned>(
    client: &mut WindowsControlChannelClient,
    pending: &mut Vec<u8>,
    max_frame_len: u32,
) -> Option<T>
Expand description

Read one frame and decode it as T.