fn handle_server_caps(&self, payload: &mut Payload) -> RdpResult<Vec<Vec<u8>>> {
        let caps = ClipboardCapabilitiesPDU::decode(payload)?;
        if let Some(general) = caps.general {
            // our capabilities are minimal, so we log the server
            // capabilities for debug purposes, but don't otherwise care
            // (the server will be forced into working with us)
            info!("RDP server clipboard capabilities: {:?}", general);
        }

        // we don't send our capabilities here, they get sent as a response
        // to the monitor ready PDU below
        Ok(vec![])
    }
/// Handles the server capabilities message, which is the first message sent from the server
/// to the client during the initialization sequence. Described in section 1.3.2.1.
Handles the server capabilities message, which is the first message sent from the server
to the client during the initialization sequence.
Handles the server capabilities message which is the first message sent from the server to the client during the initialization sequence .
fn handle_server_caps(&self, payload: &mut Payload) -> RdpResult<Vec<Vec<u8>>> {
        let caps = ClipboardCapabilitiesPDU::decode(payload)?;
        if let Some(general) = caps.general {
            // our capabilities are minimal, so we log the server
            // capabilities for debug purposes, but don't otherwise care
            // (the server will be forced into working with us)
            info!("RDP server clipboard capabilities: {:?}", general);
        }
        // we don't send our capabilities here, they get sent as a response
        // to the monitor ready PDU below
        Ok(vec![])
    }
fn handle_server_caps ( & self , payload : & mut Payload ) -> RdpResult < Vec < Vec < u8 > > > { let caps = ClipboardCapabilitiesPDU :: decode ( payload ) ? ; if let Some ( general ) = caps . general { // our capabilities are minimal, so we log the server // capabilities for debug purposes, but don't otherwise care // (the server will be forced into working with us) info ! ( " " general ) ; } // we don't send our capabilities here, they get sent as a response // to the monitor ready PDU below Ok ( vec ! [ ] ) }
Handles the server capabilities message, which is the first message sent from the server
to the client during the initialization sequence.
Handles the server capabilities message which is the first message sent from the server to the client during the initialization sequence .
&self
payload
&mut Payload
&self
payload
&mut Payload