pub struct VncClient { /* private fields */ }
Implementations§
Source§impl VncClient
impl VncClient
Sourcepub async fn input(&self, event: X11Event) -> Result<(), VncError>
pub async fn input(&self, event: X11Event) -> Result<(), VncError>
Input a X11Event
from the frontend
Sourcepub async fn recv_event(&self) -> Result<VncEvent, VncError>
pub async fn recv_event(&self) -> Result<VncEvent, VncError>
Receive a VncEvent
from the engine
This function will block until a VncEvent
is received
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VncClient
impl !RefUnwindSafe for VncClient
impl Send for VncClient
impl Sync for VncClient
impl Unpin for VncClient
impl !UnwindSafe for VncClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more