Struct vnc::client::Client
[−]
[src]
pub struct Client { // some fields omitted }
pub struct Client { // some fields omitted }
impl Client
[src]fn from_tcp_stream<Auth>(stream: TcpStream, shared: bool, auth: Auth) -> Result<Client> where Auth: FnOnce(&[AuthMethod]) -> Option<AuthChoice>
fn name(&self) -> &str
fn size(&self) -> (u16, u16)
fn format(&self) -> PixelFormat
fn set_encodings(&mut self, encodings: &[Encoding]) -> Result<()>
fn request_update(&mut self, rect: Rect, incremental: bool) -> Result<()>
fn send_key_event(&mut self, down: bool, key: u32) -> Result<()>
fn send_pointer_event(&mut self, buttons: u8, x: u16, y: u16) -> Result<()>
fn update_clipboard(&mut self, text: &str) -> Result<()>
fn set_format(&mut self, format: PixelFormat) -> Result<()>
fn poll_event(&mut self) -> Option<Event>
fn poll_iter(&mut self) -> EventPollIterator
fn disconnect(self) -> Result<()>