#[non_exhaustive]
pub enum VncEvent {
SetResolution(Screen),
SetPixelFormat(PixelFormat),
RawImage(Rect, Vec<u8>),
Copy(Rect, Rect),
JpegImage(Rect, Vec<u8>),
SetCursor(Rect, Vec<u8>),
Bell,
Text(String),
}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.
SetResolution(Screen)
SetPixelFormat(PixelFormat)
RawImage(Rect, Vec<u8>)
Copy(Rect, Rect)
JpegImage(Rect, Vec<u8>)
SetCursor(Rect, Vec<u8>)
Bell
Text(String)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VncEvent
impl Send for VncEvent
impl Sync for VncEvent
impl Unpin for VncEvent
impl UnwindSafe for VncEvent
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