fn handle_format_data_response(
        &self,
        payload: &mut Payload,
        length: u32,
    ) -> RdpResult<Vec<Vec<u8>>> {
        let resp = FormatDataResponsePDU::decode(payload, length)?;
        debug!(
            "recieved {} bytes of copied data from Windows Desktop: {:?}",
            resp.data.len(),
            std::str::from_utf8(resp.data.as_ref()),
        );

        (self.on_remote_copy)(resp.data);

        Ok(vec![])
    }
/// Receives clipboard data from the remote desktop. This is the server responding
/// to our format data request.
Receives clipboard data from the remote desktop. This is the server responding
to our format data request.
Receives clipboard data from the remote desktop . This is the server responding to our format data request .
fn handle_format_data_response(
        &self,
        payload: &mut Payload,
        length: u32,
    ) -> RdpResult<Vec<Vec<u8>>> {
        let resp = FormatDataResponsePDU::decode(payload, length)?;
        debug!(
            "recieved {} bytes of copied data from Windows Desktop: {:?}",
            resp.data.len(),
            std::str::from_utf8(resp.data.as_ref()),
        );
        (self.on_remote_copy)(resp.data);
        Ok(vec![])
    }
fn handle_format_data_response ( & self , payload : & mut Payload , length : u32 , ) -> RdpResult < Vec < Vec < u8 > > > { let resp = FormatDataResponsePDU :: decode ( payload , length ) ? ; debug ! ( " " resp data len ( ) std str from_utf8 ( resp data as_ref ( ) ) ) ; ( self . on_remote_copy ) ( resp . data ) ; Ok ( vec ! [ ] ) }
Receives clipboard data from the remote desktop.
Receives clipboard data from the remote desktop .
&self
payload
&mut Payload
length
u32
&self
payload
&mut Payload
length
u32