#[non_exhaustive]
pub enum X11Event {
Refresh,
KeyEvent(ClientKeyEvent),
PointerEvent(ClientMouseEvent),
CopyText(String),
}Expand description
Client-side event which used to ask the engine send some command to the vnc server
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Refresh
Require a frame update
KeyEvent(ClientKeyEvent)
Key down/up
PointerEvent(ClientMouseEvent)
Mouse move/up/down/scroll
CopyText(String)
Send data to the server’s clipboard
Only Latin-1 character set is allowed
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for X11Event
impl Send for X11Event
impl Sync for X11Event
impl Unpin for X11Event
impl UnwindSafe for X11Event
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more